From 62da6f5f568c0965ca3760907d9e775735152bbe Mon Sep 17 00:00:00 2001 From: David Andersen Date: Thu, 27 Oct 2016 00:08:21 +0000 Subject: [PATCH] follow symlink --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 985ac34..3cd1431 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -16,7 +16,7 @@ if [ ! -f /factorio/config/map-gen-settings.json ]; then cp /opt/factorio/data/map-gen-settings.example.json /factorio/config/map-gen-settings.json fi -if ! find $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then +if ! find -L $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then /opt/factorio/bin/x64/factorio \ --create $SAVES/save.zip \ --map-gen-settings /opt/factorio/data/map-gen-settings.json