summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2021-05-01 02:05:06 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2021-05-01 02:05:06 +0300
commit02405a74d2bdaa3ecd6510eb198e1bf98cb1b051 (patch)
treef861d40a411787cba23bc6c4bc425d9f21e57035
parent789be6b93351e6150e5c2167a1ae3a64eed0717c (diff)
DRTVWR-520 Post-merge build fix + error handling improvement
-rwxr-xr-xindra/newview/installers/darwin/apple-notarize.sh7
-rwxr-xr-xindra/newview/viewer_manifest.py2
2 files changed, 6 insertions, 3 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
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index e031557b69..80f6b2aa9f 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -1294,7 +1294,7 @@ class DarwinManifest(ViewerManifest):
libvlc_path = app_in_dmg + "/Contents/Resources/llplugin/media_plugin_libvlc.dylib"
cef_path = app_in_dmg + "/Contents/Resources/llplugin/media_plugin_cef.dylib"
slplugin_path = app_in_dmg + "/Contents/Resources/SLPlugin.app/Contents/MacOS/SLPlugin"
- greenlet_path = app_in_dmg + "/Contents/Resources/updater/greenlet.so"
+ greenlet_path = app_in_dmg + "/Contents/Resources/updater/greenlet/_greenlet.so"
while (not signed) and (sign_attempts > 0):
try:
sign_attempts-=1