From 437402c65bf941cc91e8cb773ad05be17bbe5e62 Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 4 Aug 2019 19:08:18 +1000 Subject: Minor tweak to let inventory backup script work again. --- scripts/backup-inventories.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 k=$(echo ${p} | cut -d '=' -f 1) v=$(echo ${p} | cut -d '=' -f 2) creds[${k}]="${v}" -done < <(grep ConnectionString ${PRGDIR}/../config/config.ini | cut -d '"' -f 2) +done < <(grep ConnectionString ${PRGDIR}/../../config/config.ini | cut -d '"' -f 2) # The above seems the best way to get bash to let the creds assignments survive outside the loop. # Only backup those that have not logged on since their last backup, but returning prims from sims will bypass this check. -- cgit v1.1