From: Carl Hetherington Date: Mon, 18 May 2020 11:36:19 +0000 (+0200) Subject: Stop xcrun errors silently killing the build. X-Git-Tag: v2.15.75 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=3bc6a4ff1965c25f058f8d7a151c12a079b59f04 Stop xcrun errors silently killing the build. --- diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index b463d383b..9747bd3ec 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -396,7 +396,9 @@ EOF N=0 while [ 1 ]; do echo "Checking up on $id" + set +e status=$(xcrun altool --notarization-info $id -u $APPLE_ID -p $APPLE_PASSWORD --output-format xml) + set -e summary=$(echo "$status" | grep -C1 "Status" | tail -n 1 | sed -e "s/ .//g") echo "Got $summary" if [ "$summary" == "invalid" ]; then