From 123332e5479ac4738cfa3989b83f626a0c9bf817 Mon Sep 17 00:00:00 2001 From: The_Spider Date: Fri, 28 Jan 2022 09:49:46 -0600 Subject: [PATCH] adds escapes --- build-factario-container.jenkins | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-factario-container.jenkins b/build-factario-container.jenkins index f06811c..5ffde1d 100644 --- a/build-factario-container.jenkins +++ b/build-factario-container.jenkins @@ -18,11 +18,11 @@ id [ ! -f "/data/config/map-gen-settings.json" ] && cp /opt/factorio/data/map-gen-settings.example.json /data/config/map-gen-settings.json [ ! -f "/data/config/map-settings.json" ] && cp /opt/factorio/data/map-settings.example.json /data/config/map-settings.json -if find -L /data/saves -iname \\\\*.tmp.zip -mindepth 1 -print | grep -q .; then +if find -L /data/saves -iname \\*.tmp.zip -mindepth 1 -print | grep -q .; then rm -f /data/saves/*.tmp.zip fi -if ! find -L /data/saves -iname \*.zip -mindepth 1 -print | grep -q .; then +if ! find -L /data/saves -iname \\*.zip -mindepth 1 -print | grep -q .; then /opt/factorio/bin/x64/factorio \\ --create /data/saves/_autosave1.zip \\ --map-gen-settings /data/config/map-gen-settings.json \\