follow symlink

This commit is contained in:
David Andersen 2016-10-27 00:08:21 +00:00
parent 47ca759742
commit 62da6f5f56

View File

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