diff options
author | onefang | 2019-05-22 19:14:35 +1000 |
---|---|---|
committer | onefang | 2019-05-22 19:14:35 +1000 |
commit | ca7a2ed839f8fec5a7d7abbf50fc2c031f192fb5 (patch) | |
tree | 9b4dfc525c31a88014a8d7d6c223e7cd452749c6 /scripts/backup-sims.sh | |
parent | Renamed branch to SledjChisl. (diff) | |
download | opensim-SC-ca7a2ed839f8fec5a7d7abbf50fc2c031f192fb5.zip opensim-SC-ca7a2ed839f8fec5a7d7abbf50fc2c031f192fb5.tar.gz opensim-SC-ca7a2ed839f8fec5a7d7abbf50fc2c031f192fb5.tar.bz2 opensim-SC-ca7a2ed839f8fec5a7d7abbf50fc2c031f192fb5.tar.xz |
Major tweaking of the scripts to suit the new setup.
Diffstat (limited to '')
-rwxr-xr-x | scripts/backup-sims.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
6 | for i in $(seq -w 1 99) | 6 | for i in $(seq -w 1 99) |
7 | do | 7 | do |
8 | j=$(num2name ${i}) | 8 | j=$(num2name ${i}) |
9 | if [ -e "${PRGDIR}/../config/${j}" ] | 9 | if [ -e "${PRGDIR}/../../config/${j}" ] |
10 | then | 10 | then |
11 | pushd ${PRGDIR}/../config/${j} >/dev/null | 11 | pushd ${PRGDIR}/../../config/${j} >/dev/null |
12 | # Find out the size of the last backup, base our later sleep on that, but do it now before backup-sim packs it away. | 12 | # Find out the size of the last backup, base our later sleep on that, but do it now before backup-sim packs it away. |
13 | sizeSleep=`sleepPerSize o "$(getSimName ${i})"` | 13 | sizeSleep=`sleepPerSize o "$(getSimName ${i})"` |
14 | ./backup-sim | 14 | ./backup-sim |