From 5f48a4e5e594876926ab73cfeb0e5b34790170b3 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Fri, 23 Apr 2021 21:01:50 -0500 Subject: [PATCH] Update FTB/CF handling of SERVER_PROPERTIES to allow spaces #843 --- start-finalSetupServerProperties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start-finalSetupServerProperties b/start-finalSetupServerProperties index 62e02dfd..7b644199 100644 --- a/start-finalSetupServerProperties +++ b/start-finalSetupServerProperties @@ -182,7 +182,7 @@ function customizeServerProps { # Deploy server.properties file if [[ ${TYPE} == "FEED-THE-BEAST" ]]; then - export SERVER_PROPERTIES=${FTB_DIR}/server.properties + export SERVER_PROPERTIES="${FTB_DIR}/server.properties" log "detected FTB, changing properties path to ${SERVER_PROPERTIES}" fi @@ -214,7 +214,7 @@ fi if isDebugging; then log "DEBUG Dumping server.properties" - cat /data/server.properties + cat "${SERVER_PROPERTIES}" fi exec ${SCRIPTS:-/}start-finalSetupEnvVariables $@