From ca7a2ed839f8fec5a7d7abbf50fc2c031f192fb5 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 22 May 2019 19:14:35 +1000 Subject: Major tweaking of the scripts to suit the new setup. --- scripts/backup-sims.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/backup-sims.sh') diff --git a/scripts/backup-sims.sh b/scripts/backup-sims.sh index b14acca..cadb9a2 100755 --- a/scripts/backup-sims.sh +++ b/scripts/backup-sims.sh @@ -6,9 +6,9 @@ getPrgDir for i in $(seq -w 1 99) do j=$(num2name ${i}) - if [ -e "${PRGDIR}/../config/${j}" ] + if [ -e "${PRGDIR}/../../config/${j}" ] then - pushd ${PRGDIR}/../config/${j} >/dev/null + pushd ${PRGDIR}/../../config/${j} >/dev/null # Find out the size of the last backup, base our later sleep on that, but do it now before backup-sim packs it away. sizeSleep=`sleepPerSize o "$(getSimName ${i})"` ./backup-sim -- cgit v1.1