Skip to content

Commit 5881bfa

Browse files
committed
fix small logic error
1 parent f534f78 commit 5881bfa

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

customize.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,15 @@ if [ "$COPY_PHENOTYPE_DB" = "true" ] ; then
135135
chgrp -R "$GMS_GROUP" "$PHENOTYPE_DB_PATH"
136136
fi
137137

138+
AA_PATH=/data/data/com.google.android.projection.gearhead/
139+
PHENOTYPE_PB_PATH="$AA_PATH"files/phenotype/shared/
140+
138141
if [ ! -f "${PHENOTYPE_PB_PATH}com.google.android.projection.gearhead.pb" ] ; then
139142
# Setup "vanilla" com.google.android.projection.gearhead.pb binary file.
140143
# CoolWalk requirement, file cannot be modified..
141144
ui_print "Setting up additional dependencies..."
142-
AA_PATH=/data/data/com.google.android.projection.gearhead/
143145
AA_OWNER=$(stat -c '%U' "$AA_PATH")
144146
AA_GROUP=$(stat -c '%U' "$AA_PATH")
145-
PHENOTYPE_PB_PATH="$AA_PATH"files/phenotype/shared/
146147

147148
# Create the folder if missing + Inject the binary .pb file
148149
mkdir -p "$PHENOTYPE_PB_PATH"

0 commit comments

Comments
 (0)