diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-10-15 11:35:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 11:35:44 +0200 |
commit | a145980795a4f37ebb9857bddb7427a184bbd6dd (patch) | |
tree | fb7ec4db18b92590b5036885c1dc39c3d42f83ca /android | |
parent | Added missing return types and fixed param types (#4996) (diff) | |
download | cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.gz cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.bz2 cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.lz cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.xz cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.zst cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.zip |
Diffstat (limited to 'android')
-rwxr-xr-x | android/compile.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/android/compile.sh b/android/compile.sh index a656247a6..4fa2c9f87 100755 --- a/android/compile.sh +++ b/android/compile.sh @@ -40,7 +40,7 @@ if [ -z "$THREADS" ]; then THREADS="4" fi -cd $BASEDIR +cd "$BASEDIR" case "$1" in @@ -93,9 +93,9 @@ case "$1" in ;; esac -mkdir -p $BUILDDIR -cd $BUILDDIR -"$CMAKE" $BASEDIR/../android -DCMAKE_TOOLCHAIN_FILE="$NDK/build/cmake/android.toolchain.cmake" \ +mkdir -p "$BUILDDIR" +cd "$BUILDDIR" +"$CMAKE" "$BASEDIR/../android" -DCMAKE_TOOLCHAIN_FILE="$NDK/build/cmake/android.toolchain.cmake" \ -DANDROID_ABI="$1" \ -DANDROID_NATIVE_API_LEVEL="$APILEVEL" \ -DCMAKE_BUILD_TYPE="$TYPE" \ |