From 37c88ee3674a8912d6e8e602d4032ae7462af5cf Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 10 Jun 2016 23:11:53 +0200 Subject: [PATCH] setup-android-sdk.sh: Fix mac ndk download --- scripts/setup-android-sdk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup-android-sdk.sh b/scripts/setup-android-sdk.sh index b9303ea24..c81422d06 100755 --- a/scripts/setup-android-sdk.sh +++ b/scripts/setup-android-sdk.sh @@ -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