diff options
author | Patrick Luby <plubius@neooffice.org> | 2023-06-19 10:15:02 -0400 |
---|---|---|
committer | Patrick Luby <plubius@neooffice.org> | 2023-06-19 19:15:24 +0200 |
commit | b31c9722d1fce88b1511f741b152bccecffee1e1 (patch) | |
tree | d68b015dbf2e7a5e7adb365ad862a559b00d6998 /solenv/bin/macosx-codesign-app-bundle | |
parent | 174a72f3fd50d1146d6bedd4cc2a1971aa33be67 (diff) |
Fix nightly build failures on Mac Intel
When adding entitlements in a debug, non-codesigned build, the
codesign command fails on some Mac Intel machines. Since this
command is only executed in non-release builds, ignore any
failures.
Change-Id: I4d89e03bbbc00725b2902446f2abbb99f273eab7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153269
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@neooffice.org>
Diffstat (limited to 'solenv/bin/macosx-codesign-app-bundle')
-rwxr-xr-x | solenv/bin/macosx-codesign-app-bundle | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/solenv/bin/macosx-codesign-app-bundle b/solenv/bin/macosx-codesign-app-bundle index eceb5dd99996..cdbf7ce964ae 100755 --- a/solenv/bin/macosx-codesign-app-bundle +++ b/solenv/bin/macosx-codesign-app-bundle @@ -53,8 +53,9 @@ if test -z "$MACOSX_CODESIGNING_IDENTITY"; then # Skip codesigning for non-release builds if there is no identity set but # set entitlements to allow Xcode's Instruments application to connect to - # the application - codesign --force --identifier="${MACOSX_BUNDLE_IDENTIFIER}" --sign - $entitlements "$APP_BUNDLE" || exit 1 + # the application. Note: the following command fails on some Mac Intel + # machines, and since this not a release build, ignore any failures. + codesign --force --identifier="${MACOSX_BUNDLE_IDENTIFIER}" --sign - $entitlements "$APP_BUNDLE" exit 0 fi |