diff options
Diffstat (limited to 'scripts/start-sim')
-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. |