summaryrefslogtreecommitdiff
path: root/ci/build_android.sh
diff options
context:
space:
mode:
authorPierre Grandin <grandinp@altern.org>2016-11-30 19:39:39 +0000
committerPierre Grandin <grandinp@altern.org>2016-11-30 19:39:39 +0000
commitccdd226410d955b0571650e3841f05c21ba45517 (patch)
treefce32e3165bc53579ffc2f522fb4d6d0604272b1 /ci/build_android.sh
parent5736d23d91fd3d2b921bec31758b0f03a3519204 (diff)
downloadnavit-ccdd226410d955b0571650e3841f05c21ba45517.tar.gz
Reworking android build scripts
Diffstat (limited to 'ci/build_android.sh')
-rw-r--r--ci/build_android.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/build_android.sh b/ci/build_android.sh
index 04ff64fa7..a0a4659c8 100644
--- a/ci/build_android.sh
+++ b/ci/build_android.sh
@@ -5,7 +5,7 @@ yel='\e[1;33m'
off='\e[0m'
wget -nv -c http://dl.google.com/android/repository/android-ndk-r13-linux-x86_64.zip
-unzip -d ~ android-ndk-r13-linux-x86_64.zip
+unzip -q -d ~ android-ndk-r13-linux-x86_64.zip
# setup var's to perform environment setup and cmake
export START_PATH=~/
@@ -42,7 +42,7 @@ else
echo
fi
-mkdir -p $BUILD_PATH
+[ -d $BUILD_PATH ] || mkdir -p $BUILD_PATH
cd $BUILD_PATH
export PATH=$ANDROID_NDK_BIN:$ANDROID_SDK_TOOLS:$ANDROID_SDK_PLATFORM_TOOLS:$PATH
android list targets