diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2021-05-01 02:05:06 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2021-05-01 02:05:06 +0300 |
commit | 02405a74d2bdaa3ecd6510eb198e1bf98cb1b051 (patch) | |
tree | f861d40a411787cba23bc6c4bc425d9f21e57035 /indra/newview/installers | |
parent | 789be6b93351e6150e5c2167a1ae3a64eed0717c (diff) |
DRTVWR-520 Post-merge build fix + error handling improvement
Diffstat (limited to 'indra/newview/installers')
-rwxr-xr-x | indra/newview/installers/darwin/apple-notarize.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/installers/darwin/apple-notarize.sh b/indra/newview/installers/darwin/apple-notarize.sh index 00d10b222a..b953af81af 100755 --- a/indra/newview/installers/darwin/apple-notarize.sh +++ b/indra/newview/installers/darwin/apple-notarize.sh @@ -30,12 +30,15 @@ if [ -f "$CONFIG_FILE" ]; then --username $USERNAME \ --password $PASSWORD + #remove temporary file + rm "$zip_file" + if [["$status" == "success"]]; then xcrun stapler staple "$app_file" + elif [["$status" == "invalid"]]; then + exit 1 fi fi - #remove temporary file - rm "$zip_file" fi fi |