summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Grandin <grandinp@altern.org>2016-12-02 17:17:56 +0000
committerPierre Grandin <grandinp@altern.org>2016-12-02 17:17:56 +0000
commit53a5f48ab18810625d48911e38d85cff67ffd6d9 (patch)
tree27a6af2011c07702099fd6b85d398fe372cbe9b0
parentd9f9ac2cafb77013f9247adaae2d86f7559acf72 (diff)
downloadnavit-53a5f48ab18810625d48911e38d85cff67ffd6d9.tar.gz
Fix:CI:Check if ndk is present before unzipping againR7027
-rw-r--r--ci/build_android.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build_android.sh b/ci/build_android.sh
index a0a4659c8..5e9794a07 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 -q -d ~ android-ndk-r13-linux-x86_64.zip
+[ -d ~/android-ndk-r13 ] || unzip -q -d ~ android-ndk-r13-linux-x86_64.zip
# setup var's to perform environment setup and cmake
export START_PATH=~/