[Libreoffice-commits] core.git: solenv/bin

Norbert Thiebaud nthiebaud at gmail.com
Fri Apr 4 06:44:37 PDT 2014


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

New commits:
commit 0927d77cfb284704e7586ccde83f8d6fb26cc459
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/7485
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Reviewed-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 5d65b2a..99f7565 100755
--- a/solenv/bin/macosx-codesign-app-bundle
+++ b/solenv/bin/macosx-codesign-app-bundle
@@ -19,7 +19,7 @@ for V in \
     fi
 done
 
-APP_BUNDLE=$1
+APP_BUNDLE="$1"
 
 # Sign dylibs
 #
@@ -72,6 +72,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