[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - solenv/bin

Norbert Thiebaud nthiebaud at gmail.com
Thu Jan 16 16:58:33 PST 2014


 solenv/bin/macosx-codesign-app-bundle |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5753e1d03d3ba09ddfdc423ae93ea33b528c8a68
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Fri Jan 10 16:51:26 2014 -0600

    give an identifier to the app_bundle itself
    
    Language Pack did not seem to pick a decent default value for that
    
    Change-Id: I567f24882e16533e10d8ba91b777ad91dc507b87
    Reviewed-on: https://gerrit.libreoffice.org/7385
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/solenv/bin/macosx-codesign-app-bundle b/solenv/bin/macosx-codesign-app-bundle
index 3b33204..07a4996 100755
--- a/solenv/bin/macosx-codesign-app-bundle
+++ b/solenv/bin/macosx-codesign-app-bundle
@@ -21,7 +21,7 @@ done
 
 echo "codesigning using MACSOX_CODESIGNING_IDENTITY=[${MACOSX_CODESIGNING_IDENTITY?}]"
 
-APP_BUNDLE=$1
+APP_BUNDLE="$1"
 
 # Sign dylibs
 #
@@ -76,6 +76,6 @@ if test "$ENABLE_MACOSX_SANDBOX" = "TRUE"; then
     entitlements="--entitlements $BUILDDIR/lo.xcent"
 fi
 
-codesign --force --verbose --sign "$MACOSX_CODESIGNING_IDENTITY" $entitlements $APP_BUNDLE
+codesign --force --verbose --identifier="${MACOSX_BUNDLE_IDENTIFIER}.$(basename ${APP_BUNDLE})" --sign "$MACOSX_CODESIGNING_IDENTITY" $entitlements $APP_BUNDLE
 
 exit 0


More information about the Libreoffice-commits mailing list