From a07ae685e2b8d0d6b3f56bf23cb182184aaa6baf Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 11 Jul 2020 13:09:48 -0500 Subject: [PATCH] Fixed attempted rsync when WORLD not set --- start-finalSetupWorld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-finalSetupWorld b/start-finalSetupWorld index d1cd48e6..24642e59 100644 --- a/start-finalSetupWorld +++ b/start-finalSetupWorld @@ -10,7 +10,7 @@ else worldDest=/data/$LEVEL fi -if [[ "$WORLD" ]] && isTrue "${FORCE_WORLD_COPY}" || [ ! -d "$worldDest" ]; then +if [[ "$WORLD" ]] && ( isTrue "${FORCE_WORLD_COPY}" || [ ! -d "$worldDest" ] ); then if isURL $WORLD; then curl -fsSL "$WORLD" -o /tmp/world.zip zipSrc=/tmp/world.zip