From 7302770f4c391aaa283a9557fe693f5fd47f35bb Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 8 Jun 2014 10:51:59 +0300 Subject: Use MACOSX_APP_NAME (with dashes instead of spaces) instead of build-time name Change-Id: I01bf646635668429c68f53bd6ab543b7a8b0be2d --- solenv/bin/macosx-codesign-app-bundle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'solenv') 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 -- cgit