From e194ae3d4558a402ee6cd57165f1522c1c0b77ab Mon Sep 17 00:00:00 2001 From: Andrew Leonard Date: Tue, 10 Dec 2024 16:36:35 +0000 Subject: [PATCH] Prevent jdk11+ from running external sign.sh as already signed during build Signed-off-by: Andrew Leonard --- sign.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sign.sh b/sign.sh index 69f75a560..f5b911109 100755 --- a/sign.sh +++ b/sign.sh @@ -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