aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-04-02 11:50:53 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-04-02 11:50:53 -0700
commitc8183412f63f082891b60b39362698751cc9e55d (patch)
treeefa36b172d1c6151f5b87062ccf9f5be9fed4d21 /build
parent3d6713755c78a09a347b0c26f7e00e8849f6e0da (diff)
parent7fd47a513517e23ea88b1c42d81381f061c61fe6 (diff)
downloadndk-c8183412f63f082891b60b39362698751cc9e55d.tar.gz
Merge "Clarify build/host-setup.sh error message when there are no toolchain binaries." into froyo
Diffstat (limited to 'build')
-rwxr-xr-xbuild/host-setup.sh15
1 files changed, 10 insertions, 5 deletions
diff --git a/build/host-setup.sh b/build/host-setup.sh
index a677b8f02..ee4a9e3d6 100755
--- a/build/host-setup.sh
+++ b/build/host-setup.sh
@@ -128,11 +128,16 @@ bad_toolchain()
ht=$2 # Host Tag
echo ""
echo "ERROR: Toolchain compiler not found"
- echo "It seems you do not have the correct $tc toolchain binaries."
- echo "This may be the result of incorrect unzipping of the NDK archive."
- echo "Please go to the official Android NDK web site and download the"
- echo "appropriate NDK package for your platform ($ht)."
- echo "See http://developer.android.com/sdk/index.html"
+ if [ $tc = NONE_FOUND ] ; then
+ echo "It seems you don't have any toolchain binaries."
+ else
+ echo "It seems you do not have the correct $tc toolchain binaries."
+ echo "This may be the result of incorrect unzipping of the NDK archive."
+ echo "Please go to the official Android NDK web site and download the"
+ echo "appropriate NDK package for your platform ($ht)."
+ echo ""
+ echo "See http://developer.android.com/sdk/ndk/index.html"
+ fi
echo ""
echo "ABORTING."
echo ""