diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/backup-inventories.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/backup-inventories.sh b/scripts/backup-inventories.sh index db4d7f4..e4e7158 100755 --- a/scripts/backup-inventories.sh +++ b/scripts/backup-inventories.sh | |||
@@ -9,7 +9,7 @@ while read -d ';' p; do | |||
9 | k=$(echo ${p} | cut -d '=' -f 1) | 9 | k=$(echo ${p} | cut -d '=' -f 1) |
10 | v=$(echo ${p} | cut -d '=' -f 2) | 10 | v=$(echo ${p} | cut -d '=' -f 2) |
11 | creds[${k}]="${v}" | 11 | creds[${k}]="${v}" |
12 | done < <(grep ConnectionString ${PRGDIR}/../config/config.ini | cut -d '"' -f 2) | 12 | done < <(grep ConnectionString ${PRGDIR}/../../config/config.ini | cut -d '"' -f 2) |
13 | # The above seems the best way to get bash to let the creds assignments survive outside the loop. | 13 | # The above seems the best way to get bash to let the creds assignments survive outside the loop. |
14 | 14 | ||
15 | # Only backup those that have not logged on since their last backup, but returning prims from sims will bypass this check. | 15 | # Only backup those that have not logged on since their last backup, but returning prims from sims will bypass this check. |