Compare commits

..

1 Commits

Author SHA1 Message Date
Geoff Bourne
a07ae685e2 Fixed attempted rsync when WORLD not set 2020-07-11 13:09:48 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk11:alpine-jre
FROM openjdk:8u212-jre-alpine
LABEL maintainer "itzg"

View File

@@ -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