From d957737e0f1cd3325d50f7bc57e82449d6ff539b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Sun, 1 Dec 2013 22:11:50 +0100 Subject: [PATCH] really show an error message in case the SDK is not found --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index 4774147..7a5c10d 100755 --- a/build.sh +++ b/build.sh @@ -159,6 +159,7 @@ touch "have_cctools_$TARGET" fi # HAVE_CCTOOLS +set +e ls $TARBALL_DIR/MacOSX$SDK_VERSION* &>/dev/null while [ $? -ne 0 ] do @@ -172,6 +173,7 @@ do read -p "Press enter to continue" ls $TARBALL_DIR/MacOSX$SDK_VERSION* &>/dev/null done +set -e SDK=`ls $TARBALL_DIR/MacOSX$SDK_VERSION*` SDK_FILENAME=`basename $SDK`