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
@@ -54,7 +54,7 @@ fi
# create runtime
## check for JEP 493
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
## create runtime image