Shifted PATH-fix earlier in startup

This commit is contained in:
Geoff Bourne committed 2021-03-06 16:05:49 -06:00
1 parent a609305fc3
commit a4e925c5e2
2 files changed
+5 -5

No files matched your search

-5
View File
@@ -184,11 +184,6 @@ function copyFilesForCurseForge() {
cp -f /data/eula.txt "${FTB_DIR}/"
}
if ! which java > /dev/null; then
log "Fixing PATH to include java"
PATH="${PATH}:/opt/java/openjdk/bin"
fi
mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s"
if [[ ${TYPE} == "CURSE_INSTANCE" ]]; then
if isTrue ${DEBUG_EXEC}; then