summaryrefslogtreecommitdiff
path: root/solenv
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 11:29:48 +0300
commit1b92c8bae498b7c59c6a074744c3f29512d05411 (patch)
treeb3f10ed43416d65f198c5c0cc008463f8cd2bcb9 /solenv
parent493ef888c44f3ee132b78a66eaa5be77c8ddf83f (diff)
Use MACOSX_APP_NAME (with dashes instead of spaces) instead of build-time name
Change-Id: I01bf646635668429c68f53bd6ab543b7a8b0be2d
Diffstat (limited to 'solenv')
-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