Fixes #8152: restore reading JAVA_OPTIONS in script.sh (#8153)

Co-authored-by: Francois @fanf42 Armand <francois.armand@normation.com>
This commit is contained in:
François Armand 2022-06-22 23:26:58 +02:00 committed by GitHub
parent 64d12e2a5a
commit 2dfbea1bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ case "`uname`" in
CYGWIN*) JETTY_START="`cygpath -w $JETTY_START`";;
esac
RUN_ARGS=$("$JAVA" -jar "$JETTY_START" --dry-run=opts,path,main,args ${JETTY_ARGS[*]})
RUN_ARGS=$("$JAVA" -jar "$JETTY_START" --dry-run=opts,path,main,args ${JETTY_ARGS[*]} ${JAVA_OPTIONS[*]})
RUN_CMD=("$JAVA" $JETTY_SYS_PROPS ${RUN_ARGS[@]})
#####################################################