mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
really show an error message in case the SDK is not found
This commit is contained in:
parent
2c0cb38fbe
commit
d957737e0f
2
build.sh
2
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`
|
||||
|
Loading…
Reference in New Issue
Block a user