Skip to content

Commit bbcc61f

Browse files
committed
fix -f option (libs was removed and never recreated.)
1 parent a27118a commit bbcc61f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

distribute.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,6 @@ function run_prepare() {
196196
fi
197197
done
198198

199-
# create build directory if not found
200-
test -d $PACKAGES_PATH || mkdir -p $PACKAGES_PATH
201-
if [ ! -d $BUILD_PATH ]; then
202-
mkdir -p $BUILD_PATH
203-
mkdir -p $LIBS_PATH
204-
fi
205-
206199
info "Distribution will be located at $DIST_PATH"
207200
if [ -e "$DIST_PATH" ]; then
208201
error "The distribution $DIST_PATH already exist"
@@ -219,6 +212,11 @@ function run_prepare() {
219212
try rm -rf $SRC_PATH/libs
220213
fi
221214

215+
# create build directory if not found
216+
test -d $PACKAGES_PATH || mkdir -p $PACKAGES_PATH
217+
test -d $BUILD_PATH || mkdir -p $BUILD_PATH
218+
test -d $LIBS_PATH || mkdir -p $LIBS_PATH
219+
222220
# create initial files
223221
echo "target=android-$ANDROIDAPI" > $SRC_PATH/default.properties
224222
echo "sdk.dir=$ANDROIDSDK" > $SRC_PATH/local.properties

0 commit comments

Comments
 (0)