summaryrefslogtreecommitdiff
path: root/solenv/bin/macosx-codesign-app-bundle
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-05-18 07:15:52 +0200
committerAndras Timar <andras.timar@collabora.com>2015-05-18 09:15:19 +0000
commit77b3bd22b208c1764923eaaed267c3dee7447ecb (patch)
treea57aae227478b7295c1dff4acdcdd5f1a9d3e48a /solenv/bin/macosx-codesign-app-bundle
parent3aeeaccccee1178c6f6041405fc230db5acd6862 (diff)
OS X codesign fix (e.g. --disable-python case)
Change-Id: Icf6b2b9722481492a2d8d70af9dbb34b04a40df7 Reviewed-on: https://gerrit.libreoffice.org/15779 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'solenv/bin/macosx-codesign-app-bundle')
-rwxr-xr-xsolenv/bin/macosx-codesign-app-bundle9
1 files changed, 6 insertions, 3 deletions
diff --git a/solenv/bin/macosx-codesign-app-bundle b/solenv/bin/macosx-codesign-app-bundle
index 78a7e53a5465..e65d8e63ce3e 100755
--- a/solenv/bin/macosx-codesign-app-bundle
+++ b/solenv/bin/macosx-codesign-app-bundle
@@ -62,9 +62,12 @@ done
for i in gengal python senddoc unoinfo
do
- codesign --verbose --identifier="$MACOSX_BUNDLE_IDENTIFIER.$i" \
- --sign "$MACOSX_CODESIGNING_IDENTITY" "$APP_BUNDLE/Contents/MacOS/$i" \
- || exit 1
+ if [ -f "$APP_BUNDLE/Contents/MacOS/$i" ]
+ then
+ codesign --verbose --identifier="$MACOSX_BUNDLE_IDENTIFIER.$i" \
+ --sign "$MACOSX_CODESIGNING_IDENTITY" "$APP_BUNDLE/Contents/MacOS/$i" \
+ || exit 1
+ fi
done
# Sign frameworks.