diff options
author | David Walter Seikel | 2016-12-09 07:16:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-12-09 07:16:10 +1000 |
commit | f96afdb62bc05dd4c2ec4ba53a9978218bd82746 (patch) | |
tree | c369c8b35426a31aa65395c29593fc2cd93ded81 /scripts/start-sim | |
parent | Add asset fixing Perl script, though likely to convert it to Lua later. (diff) | |
download | opensim-SC-f96afdb62bc05dd4c2ec4ba53a9978218bd82746.zip opensim-SC-f96afdb62bc05dd4c2ec4ba53a9978218bd82746.tar.gz opensim-SC-f96afdb62bc05dd4c2ec4ba53a9978218bd82746.tar.bz2 opensim-SC-f96afdb62bc05dd4c2ec4ba53a9978218bd82746.tar.xz |
Various little clean ups.
Diffstat (limited to '')
-rwxr-xr-x | scripts/start-sim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/start-sim b/scripts/start-sim index c9cca04..936fe13 100755 --- a/scripts/start-sim +++ b/scripts/start-sim | |||
@@ -102,6 +102,7 @@ case $(basename $0) in | |||
102 | ;; | 102 | ;; |
103 | 103 | ||
104 | "backup-inventory") | 104 | "backup-inventory") |
105 | cd ${PRGDIR} | ||
105 | $SUDO ${PRGDIR}/gitAR.sh i "${inventory}" | 106 | $SUDO ${PRGDIR}/gitAR.sh i "${inventory}" |
106 | user=$(sanitize "${inventory}") | 107 | user=$(sanitize "${inventory}") |
107 | # Add the full date and time to create the IAR file name. | 108 | # Add the full date and time to create the IAR file name. |
@@ -112,6 +113,7 @@ case $(basename $0) in | |||
112 | ;; | 113 | ;; |
113 | 114 | ||
114 | "backup-sim") | 115 | "backup-sim") |
116 | cd ${PRGDIR} | ||
115 | $SUDO ${PRGDIR}/gitAR.sh o "${title}" | 117 | $SUDO ${PRGDIR}/gitAR.sh o "${title}" |
116 | sim=$(sanitize "${title}") | 118 | sim=$(sanitize "${title}") |
117 | # Add the full date and time to create the OAR file name. | 119 | # Add the full date and time to create the OAR file name. |