xcbuild: exit with error if --find fails

This commit is contained in:
Stéphan Kochen 2022-09-16 20:16:45 +02:00
parent 64e5389634
commit 2c2b799dba

View File

@ -73,7 +73,7 @@ while [ $# -gt 0 ]; do
--toolchain | -toolchain) shift ;;
--find | -find | -f)
shift
command -v $1 ;;
command -v $1 || exit 1 ;;
--log | -log) ;; # noop
--verbose | -verbose) ;; # noop
--no-cache | -no-cache) ;; # noop