From 47abb007335a0134a3839468e89820ced02f7298 Mon Sep 17 00:00:00 2001 From: Andrey Filipenkov Date: Mon, 30 May 2022 12:43:27 +0300 Subject: [macOS] make the parent DMG script sh-compatible --- tools/darwin/packaging/osx/mkdmg-osx.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/darwin') diff --git a/tools/darwin/packaging/osx/mkdmg-osx.sh.in b/tools/darwin/packaging/osx/mkdmg-osx.sh.in index 458a7b6ec3..c66c5642f9 100755 --- a/tools/darwin/packaging/osx/mkdmg-osx.sh.in +++ b/tools/darwin/packaging/osx/mkdmg-osx.sh.in @@ -78,7 +78,7 @@ echo "done" # codesign and notarize dmg if [ "$EXPANDED_CODE_SIGN_IDENTITY_NAME" ]; then codesign --verbose=4 --sign "$EXPANDED_CODE_SIGN_IDENTITY_NAME" "$dmgPath" - if ! ./notarize.sh "$dmgPath" "$APP/Contents/Info.plist" && [[ $isReleaseBuild == 1 ]]; then + if ! ./notarize.sh "$dmgPath" "$APP/Contents/Info.plist" && [ "$isReleaseBuild" = 1 ]; then exit 1 fi fi -- cgit v1.2.3