summaryrefslogtreecommitdiffstats
path: root/android/installToolchain.sh
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-12-08 05:05:43 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-12-08 05:05:43 +0000
commitf51d6e6507681a286cbddab8cb04f6db083f93e9 (patch)
tree337652fca7848b33470fac3932cc398cd80b0a78 /android/installToolchain.sh
parent97d9c1eb3727f5b130189629c136b899bef54f72 (diff)
downloadrockbox-f51d6e6507681a286cbddab8cb04f6db083f93e9.tar.gz
rockbox-f51d6e6507681a286cbddab8cb04f6db083f93e9.tar.bz2
rockbox-f51d6e6507681a286cbddab8cb04f6db083f93e9.zip
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
Diffstat (limited to 'android/installToolchain.sh')
-rwxr-xr-xandroid/installToolchain.sh5
1 files changed, 4 insertions, 1 deletions
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
;;