From f51d6e6507681a286cbddab8cb04f6db083f93e9 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 8 Dec 2010 05:05:43 +0000 Subject: [PATCH] more than just a number changed, retry that last commit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28765 a1c6a512-1295-4272-9138-f99709370657 --- android/installToolchain.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/android/installToolchain.sh b/android/installToolchain.sh index fd67fdab9c..e0c5d3a5f2 100755 --- a/android/installToolchain.sh +++ b/android/installToolchain.sh @@ -9,7 +9,7 @@ set -e # http://developer.android.com/sdk/index.html SDK_URL="http://dl.google.com/android/android-sdk_r07-linux_x86.tgz" # http://developer.android.com/sdk/ndk/index.html -NDK_URL="http://dl.google.com/android/ndk/android-ndk-r5-linux-x86.zip" +NDK_URL="http://dl.google.com/android/ndk/android-ndk-r5-linux-x86.tar.bz2" prefix="${INSTALL_PREFIX:-$HOME}" dldir="${DOWNLOAD_DIR:-/tmp}" @@ -34,6 +34,9 @@ download_and_extract() { tgz|tar.gz) (cd $prefix; tar -xf "$local_file") ;; + tar.bz2) + (cd $prefix; tar -xjf "$local_file") + ;; *) echo "Couldn't figure out how to extract $local_file" ! 1>&2 ;;