summaryrefslogtreecommitdiff
path: root/solenv/bin/macosx-codesign-app-bundle
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-06-08 10:51:59 +0300
committerTor Lillqvist <tml@collabora.com>2014-06-08 10:51:59 +0300
commit7302770f4c391aaa283a9557fe693f5fd47f35bb (patch)
tree08587add8860c3fad00acc10974e0829bc8bbd93 /solenv/bin/macosx-codesign-app-bundle
parent02d84b903eca7cfafdf250a34edbbabf0c43eeef (diff)
Use MACOSX_APP_NAME (with dashes instead of spaces) instead of build-time name
Change-Id: I01bf646635668429c68f53bd6ab543b7a8b0be2d
Diffstat (limited to 'solenv/bin/macosx-codesign-app-bundle')
-rwxr-xr-xsolenv/bin/macosx-codesign-app-bundle3
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/bin/macosx-codesign-app-bundle b/solenv/bin/macosx-codesign-app-bundle
index 99f75659e3ed..0eca560b92d6 100755
--- a/solenv/bin/macosx-codesign-app-bundle
+++ b/solenv/bin/macosx-codesign-app-bundle
@@ -72,6 +72,7 @@ if test "$ENABLE_MACOSX_SANDBOX" = "TRUE"; then
entitlements="--entitlements $BUILDDIR/lo.xcent"
fi
-codesign --force --verbose --identifier="${MACOSX_BUNDLE_IDENTIFIER}.$(basename ${APP_BUNDLE})" --sign "$MACOSX_CODESIGNING_IDENTITY" $entitlements $APP_BUNDLE
+id=`echo ${MACOSX_APP_NAME} | tr ' ' '-'`
+codesign --force --verbose --identifier="${MACOSX_BUNDLE_IDENTIFIER}.$id" --sign "$MACOSX_CODESIGNING_IDENTITY" $entitlements $APP_BUNDLE
exit 0