[geany/geany-osx] 261d02: Fix the signing script on macOS Catalina

Jiří Techet git-noreply at xxxxx
Sat Oct 12 10:26:29 UTC 2019


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sat, 12 Oct 2019 10:26:29 UTC
Commit:      261d028eeb4c0d125225c01f772bfd19f3cec0f9
             https://github.com/geany/geany-osx/commit/261d028eeb4c0d125225c01f772bfd19f3cec0f9

Log Message:
-----------
Fix the signing script on macOS Catalina

For some reason the exported function in the script can't access
the SIGN_CERTIFICATE variable any more - pass it as an argument of
the function instead.


Modified Paths:
--------------
    sign.sh

Modified: sign.sh
10 lines changed, 5 insertions(+), 5 deletions(-)
===================================================================
@@ -1,11 +1,11 @@
 #!/bin/sh
 
 sign() {
-	codesign -s "$SIGN_CERTIFICATE" --entitlements geany.entitlements --deep --force --strict=all --options runtime -vvv $1
+	codesign -s "$2" --entitlements geany.entitlements --deep --force --strict=all --options runtime -vvv "$1"
 }
 export -f sign
 
-sign "./Geany.app/Contents/MacOS/geany-bin"
-sign "./Geany.app/Contents/Resources/libexec/gnome-pty-helper"
-find ./Geany.app \( -name "*.dylib" -or -name "*.so" \) -exec sh -c 'sign "$0"' {} \;
-sign "./Geany.app"
+sign "./Geany.app/Contents/MacOS/geany-bin" "$SIGN_CERTIFICATE"
+sign "./Geany.app/Contents/Resources/libexec/gnome-pty-helper" "$SIGN_CERTIFICATE"
+find ./Geany.app \( -name "*.dylib" -or -name "*.so" \) -exec sh -c 'sign "$0" "$SIGN_CERTIFICATE"' {} \;
+sign "./Geany.app" "$SIGN_CERTIFICATE"



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list