diff options
author | onefang | 2019-08-05 05:05:48 +1000 |
---|---|---|
committer | onefang | 2019-08-05 05:05:48 +1000 |
commit | 5c2572fed212482ceed94aa22d40e38f9cf3f9aa (patch) | |
tree | d4cd6207861b550d0477661f9599c33d05d92aa2 /scripts | |
parent | start-sim -w waiting for ROBUST isn't working. (diff) | |
download | opensim-SC_OLD-5c2572fed212482ceed94aa22d40e38f9cf3f9aa.zip opensim-SC_OLD-5c2572fed212482ceed94aa22d40e38f9cf3f9aa.tar.gz opensim-SC_OLD-5c2572fed212482ceed94aa22d40e38f9cf3f9aa.tar.bz2 opensim-SC_OLD-5c2572fed212482ceed94aa22d40e38f9cf3f9aa.tar.xz |
Pass -q through to ROBUST on start them all mode of start-sim.
Diffstat (limited to '')
-rwxr-xr-x | scripts/start-sim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/start-sim b/scripts/start-sim index f494111..78e627d 100755 --- a/scripts/start-sim +++ b/scripts/start-sim | |||
@@ -40,13 +40,13 @@ fi | |||
40 | 40 | ||
41 | if [ "$1" = "-q" ] | 41 | if [ "$1" = "-q" ] |
42 | then | 42 | then |
43 | quiet="true" | 43 | quiet="-q" |
44 | shift 1 | 44 | shift 1 |
45 | fi | 45 | fi |
46 | 46 | ||
47 | if [ "$1" = "-w" ] | 47 | if [ "$1" = "-w" ] |
48 | then | 48 | then |
49 | waiting="true" | 49 | waiting="-w" |
50 | shift 1 | 50 | shift 1 |
51 | fi | 51 | fi |
52 | 52 | ||
@@ -55,7 +55,7 @@ if [ "x$1" = "x" ]; then | |||
55 | if [ "$tgt" = "scripts" ]; then | 55 | if [ "$tgt" = "scripts" ]; then |
56 | uptime | 56 | uptime |
57 | pushd ${PRGDIR}/../../config/ROBUST >/dev/null | 57 | pushd ${PRGDIR}/../../config/ROBUST >/dev/null |
58 | ./start-sim | 58 | ./start-sim $quiet |
59 | echo "Sleeping for $((${delay} / 2)) seconds." | 59 | echo "Sleeping for $((${delay} / 2)) seconds." |
60 | sleep $((${delay} / 2)) | 60 | sleep $((${delay} / 2)) |
61 | popd > /dev/null | 61 | popd > /dev/null |