Skip to content

Commit

Permalink
Prevent jdk11+ from running external sign.sh as already signed during…
Browse files Browse the repository at this point in the history
… build

Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard committed Dec 10, 2024
1 parent 488ca93 commit e194ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ signRelease()

if [ "$SIGN_TOOL" = "eclipse" ] && [ "${VERSION}" != "8" ]; then
# Eclipse jdk-11+ post-build signing should only sign the libjli.dylib bundle executable, as there rest are already internally signed in the build
FILES=$(find . -name 'libjli.dylib' | grep 'Contents/MacOS')
FILES=$(find . -name 'libjli.dylib' | grep 'Contents/MacOS' || true)
else
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')
fi
Expand Down

0 comments on commit e194ae3

Please sign in to comment.