Skip to content

Commit

Permalink
Fix Issue With MacOS Codesigning Find Command (#3434)
Browse files Browse the repository at this point in the history
* Fix find command

* Fix find command
  • Loading branch information
steelhead31 authored Jul 13, 2023
1 parent 154d00c commit 4ed9a0e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,12 @@ signRelease()
"mac"*)
# TODO: Remove this completly once https://github.com/adoptium/openjdk-jdk11u/commit/b3250adefed0c1778f38a7e221109ae12e7c421e has been backported to JDK8u
echo "Signing OSX release"

ENTITLEMENTS="$WORKSPACE/entitlements.plist"

MACSIGNSTRING="Apple Certification Authority"


# Sign all files with the executable permission bit set.
FILES=$(find "${TMP_DIR}" -perm +111 -type f -o -name '*.dylib' -type f || find "${TMP_DIR}" -perm /111 -type f -o -name '*.dylib' -type f)

FILES=$(find "${TMP_DIR}" -perm +111 -type f -not -name '.*' -o -name '*.dylib' || find "${TMP_DIR}" -perm /111 -type f -not -name '.*' -o -name '*.dylib')
if [ "$FILES" == "" ]; then
echo "No files to sign"
elif [ "$SIGN_TOOL" = "eclipse" ]; then
Expand Down

0 comments on commit 4ed9a0e

Please sign in to comment.