Setup MEMORY variables earlier to allow use in Spigot build (#1779)

This commit is contained in:
Geoff Bourne
2022-10-12 19:23:01 -05:00
committed by GitHub
parent 61592d5c3e
commit 8f5cc315d9
2 changed files with 5 additions and 4 deletions

View File

@@ -113,10 +113,6 @@ if [[ ${GUI,,} = false ]]; then
EXTRA_ARGS+=" nogui"
fi
: "${MEMORY=1G}"
: "${INIT_MEMORY=${MEMORY}}"
: "${MAX_MEMORY=${MEMORY}}"
expandedDOpts=
if [ -n "$JVM_DD_OPTS" ]; then
for dopt in $JVM_DD_OPTS