mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-08 02:55:56 +01:00
verify_sdk_version: exit with code 1 if the SDK is not found
This change updates the exit code for `verify_sdk_version` to `1` function if the SDK is not found. This should help to stop the build in automatic scripts when the SDK_VERSION env variable is set to a invalid value.
This commit is contained in:
parent
5771a84795
commit
1c8440a804
@ -179,7 +179,7 @@ function verify_sdk_version()
|
||||
done
|
||||
if [ ! $sdk ] ; then
|
||||
echo cant find SDK for OSX $sdkv in tarballs. exiting
|
||||
exit
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user