From 30c0043ba3171726d008f2f573fc90107e612c73 Mon Sep 17 00:00:00 2001
From: Andrey Lihatskiy <alihatskiy@productengine.com>
Date: Tue, 21 Sep 2021 19:37:15 +0300
Subject: [PATCH] SL-15612 Check for SKIP_NOTARIZATION evn. variable

---
 indra/newview/installers/darwin/apple-notarize.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/indra/newview/installers/darwin/apple-notarize.sh b/indra/newview/installers/darwin/apple-notarize.sh
index ecf5bd158aa..2213914e6df 100755
--- a/indra/newview/installers/darwin/apple-notarize.sh
+++ b/indra/newview/installers/darwin/apple-notarize.sh
@@ -1,4 +1,9 @@
 #!/bin/sh
+if [ -n $SKIP_NOTARIZATION ]; then
+    echo "Skipping notarization"
+    exit 0
+fi
+
 CONFIG_FILE="$build_secrets_checkout/code-signing-osx/notarize_creds.sh"
 if [ -f "$CONFIG_FILE" ]; then
     source $CONFIG_FILE
-- 
GitLab