fix wrong logic in build scripts

This commit is contained in:
Armin Schrenk
2025-05-07 16:59:36 +02:00
parent bbb663f9d2
commit 7c44c4f194
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ jobs:
id: jep-493-check
run: |
JMOD_PATHS="openjfx-jmods"
if $(${JAVA_HOME}/bin/jlink --help | grep -o "Linking from run-time image enabled"); then
if ! $(${JAVA_HOME}/bin/jlink --help | grep -q "Linking from run-time image enabled"); then
JMOD_PATHS="${JAVA_HOME}/jmods:${JMOD_PATHS}"
fi
echo "jmod_paths=${JMOD_PATHS}" >> "$GITHUB_OUTPUT"