setup-android-sdk.sh: Fix mac ndk download

This commit is contained in:
Fredrik Fornwall 2016-06-10 23:11:53 +02:00
parent 202ed9d3b3
commit 37c88ee367

View File

@ -22,7 +22,7 @@ if [ ! -d $NDK ]; then
mkdir -p $NDK
cd $NDK/..
rm -Rf `basename $NDK`
curl --fail --retry 3 -o ndk.zip http://dl.google.com/android/repository/android-ndk-r12-linux-x86_64.zip
curl --fail --retry 3 -o ndk.zip http://dl.google.com/android/repository/android-ndk-r12-`uname`-x86_64.zip
rm -Rf android-ndk-r12
unzip -q ndk.zip