Shifted PATH-fix earlier in startup

This commit is contained in:
Geoff Bourne
2021-03-06 16:04:06 -06:00
parent 6d3f194ce3
commit 595760d301
2 changed files with 5 additions and 5 deletions
-5
View File
@@ -167,11 +167,6 @@ function copyFilesForCurseForge() {
cp -f /data/eula.txt "${FTB_DIR}/"
}
if ! which java > /dev/null; then
log "Fixing PATH to include java"
PATH="${PATH}:/usr/bin"
fi
mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s"
if [[ ${TYPE} == "CURSE_INSTANCE" ]]; then
if isTrue ${DEBUG_EXEC}; then