summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-06-06 14:38:59 +0300
committerTor Lillqvist <tml@collabora.com>2014-06-06 14:40:58 +0300
commit31684bb7feae39ea6f936e4f3286da53ae13b94c (patch)
treeb04b8183e115bd831a73447600bada667e0b2886 /solenv/bin
parente197043cf1c792fb5311d6597a18ee84b289985b (diff)
Use MACOSX_APP_NAME instead of the build-time app bundle name
Change-Id: I447cf96778e56cbc89c7aa7eb066df0bc52b1755
Diffstat (limited to 'solenv/bin')
-rwxr-xr-xsolenv/bin/macosx-codesign-app-bundle3
1 files changed, 1 insertions, 2 deletions
diff --git a/solenv/bin/macosx-codesign-app-bundle b/solenv/bin/macosx-codesign-app-bundle
index 532ce5e0f256..d21031ad8304 100755
--- a/solenv/bin/macosx-codesign-app-bundle
+++ b/solenv/bin/macosx-codesign-app-bundle
@@ -88,8 +88,7 @@ if test "$ENABLE_MACOSX_SANDBOX" = "TRUE"; then
entitlements="--entitlements $BUILDDIR/lo.xcent"
fi
-id=`basename "$APP_BUNDLE"`
-id=`echo $id | tr ' ' '-'`
+id=`echo ${MACOSX_APP_NAME} | tr ' ' '-'`
codesign --force --verbose --identifier="${MACOSX_BUNDLE_IDENTIFIER}.$id" --resource-rules "$SRCDIR/setup_native/source/mac/CodesignRules.plist" --sign "$MACOSX_CODESIGNING_IDENTITY" $entitlements "$APP_BUNDLE"
exit 0