From c7715c7473986a144c8abd0bea3946425ebea874 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 14 Oct 2016 09:49:09 +0000 Subject: [PATCH] #1340 split signing of app into a separate step so we can call it from the signing host git-svn-id: https://xpra.org/svn/Xpra/trunk@14155 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- osx/make-all.sh | 2 +- osx/make-app.sh | 8 -------- osx/sign-app.sh | 10 ++++++++++ 3 files changed, 11 insertions(+), 9 deletions(-) create mode 100755 osx/sign-app.sh diff --git a/osx/make-all.sh b/osx/make-all.sh index 3a3c281eb1..71ff4085be 100755 --- a/osx/make-all.sh +++ b/osx/make-all.sh @@ -1,3 +1,3 @@ #!/bin/sh -./make-app.sh && ./make-DMG.sh && ./make-PKG.sh +./make-app.sh && ./sign-app.sh && ./make-DMG.sh && ./make-PKG.sh diff --git a/osx/make-app.sh b/osx/make-app.sh index 078d5f6956..f97ed29b41 100755 --- a/osx/make-app.sh +++ b/osx/make-app.sh @@ -300,11 +300,3 @@ rsync --delete -rplogt "${IMAGE_DIR}" ~/Desktop/ echo "Done" echo "*******************************************************************************" echo - -echo "*******************************************************************************" -if [ ! -z "${CODESIGN_KEYNAME}" ]; then - echo "Signing with key '${CODESIGN_KEYNAME}'" - codesign --deep --force --verify --verbose --sign "Developer ID Application: ${CODESIGN_KEYNAME}" Xpra.app -else - echo "Signing skipped (no keyname)" -fi diff --git a/osx/sign-app.sh b/osx/sign-app.sh new file mode 100755 index 0000000000..3afb32cccf --- /dev/null +++ b/osx/sign-app.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +IMAGE_DIR="./image/Xpra.app" + +if [ ! -z "${CODESIGN_KEYNAME}" ]; then + echo "Signing with key '${CODESIGN_KEYNAME}'" + codesign --deep --force --verify --verbose --sign "Developer ID Application: ${CODESIGN_KEYNAME}" ${IMAGE_DIR} +else + echo "Signing skipped (no keyname)" +fi