Fix PATH to include java when needed

This commit is contained in:
Geoff Bourne committed 2021-02-11 14:52:51 -06:00
1 parent 02e0a47a52
commit f397dd71a9
1 file changed
+1 -1
+1 -1
View File
@@ -170,7 +170,7 @@ function copyFilesForCurseForge() {
if ! which java > /dev/null; then if ! which java > /dev/null; then
log "Fixing PATH to include java" log "Fixing PATH to include java"
PATH="${PATH}:/usr/bin" PATH="${PATH}:/opt/java/openjdk/bin"
fi fi
mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s" mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s"