From 7fd47a513517e23ea88b1c42d81381f061c61fe6 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Fri, 2 Apr 2010 11:39:29 -0700 Subject: Clarify build/host-setup.sh error message when there are no toolchain binaries. Change-Id: I91f7a455183c917f8d8dfb3b205ac98671769b96 --- build/host-setup.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'build') 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 "" -- cgit v1.2.3