use correct bash syntax to check exit code

This commit is contained in:
Armin Schrenk
2025-05-21 13:01:33 +02:00
parent 59dddd3f4c
commit 6e085b783d
5 changed files with 5 additions and 5 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 -q "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