aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-08-04 19:08:18 +1000
committeronefang2019-08-04 19:08:18 +1000
commit437402c65bf941cc91e8cb773ad05be17bbe5e62 (patch)
tree39ac715722a160c3e90829a2960bb428030bf944
parentAdd a basic generic web server, and a login page, plus stubs for the other ba... (diff)
downloadopensim-SC_OLD-437402c65bf941cc91e8cb773ad05be17bbe5e62.zip
opensim-SC_OLD-437402c65bf941cc91e8cb773ad05be17bbe5e62.tar.gz
opensim-SC_OLD-437402c65bf941cc91e8cb773ad05be17bbe5e62.tar.bz2
opensim-SC_OLD-437402c65bf941cc91e8cb773ad05be17bbe5e62.tar.xz
Minor tweak to let inventory backup script work again.
-rwxr-xr-xscripts/backup-inventories.sh2
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}"
12done < <(grep ConnectionString ${PRGDIR}/../config/config.ini | cut -d '"' -f 2) 12done < <(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.