diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-05-31 00:46:23 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-05-31 00:46:23 +0200 |
commit | 1521451529c1cae72a19248068da041c5bb2efbf (patch) | |
tree | 8fb8b01bcd67b53f009d2cbf0ba6bae795f0d2f3 /modules | |
parent | d397d8c7deb8bbab47123af09a8f36de70fae201 (diff) |
Bash: minor fixes to startup-scripts
Diffstat (limited to 'modules')
5 files changed, 7 insertions, 7 deletions
diff --git a/modules/acore/startup-scripts/examples/restarter-auth.sh b/modules/acore/startup-scripts/examples/restarter-auth.sh index 579c8c5b8e..575981cf2a 100644 --- a/modules/acore/startup-scripts/examples/restarter-auth.sh +++ b/modules/acore/startup-scripts/examples/restarter-auth.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -$PATH_RUNENGINE="" +PATH_RUNENGINE="./" source $PATH_RUNENGINE/run-engine diff --git a/modules/acore/startup-scripts/examples/restarter-world.sh b/modules/acore/startup-scripts/examples/restarter-world.sh index 036248a99f..5307eb4a76 100644 --- a/modules/acore/startup-scripts/examples/restarter-world.sh +++ b/modules/acore/startup-scripts/examples/restarter-world.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -$PATH_RUNENGINE="" +PATH_RUNENGINE="./" source $PATH_RUNENGINE/run-engine diff --git a/modules/acore/startup-scripts/examples/starter-auth.sh b/modules/acore/startup-scripts/examples/starter-auth.sh index a6947a39fd..0aedb9bca7 100644 --- a/modules/acore/startup-scripts/examples/starter-auth.sh +++ b/modules/acore/startup-scripts/examples/starter-auth.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -$PATH_RUNENGINE="" +PATH_RUNENGINE="./" source $PATH_RUNENGINE/run-engine diff --git a/modules/acore/startup-scripts/examples/starter-world.sh b/modules/acore/startup-scripts/examples/starter-world.sh index 380a57c8e9..4b866dee1d 100644 --- a/modules/acore/startup-scripts/examples/starter-world.sh +++ b/modules/acore/startup-scripts/examples/starter-world.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -$PATH_RUNENGINE="" +PATH_RUNENGINE="./" source $PATH_RUNENGINE/run-engine diff --git a/modules/acore/startup-scripts/starter b/modules/acore/startup-scripts/starter index 2f98ea40f9..dcb5a5c97f 100755 --- a/modules/acore/startup-scripts/starter +++ b/modules/acore/startup-scripts/starter @@ -4,9 +4,9 @@ GDB_FILE="$2" CONFIG="$3" SYSLOG="$4" SYSERR="$5" -GBD_ENABLED="$6" +GDB_ENABLED="$6" -if [ $GBD_ENABLED -eq 1 ]; then +if [ $GDB_ENABLED -eq 1 ]; then echo "set logging on" > "$GDB_FILE" echo "set debug timestamp" >> "$GDB_FILE" echo "run -c $3" >> "$GDB_FILE" @@ -22,6 +22,6 @@ if [ $GBD_ENABLED -eq 1 ]; then gdb -x $GDB_FILE --batch $1 > >(tee ${SYSLOG}) 2> >(tee ${SYSERR} >&2) fi -elif [ $GBD_ENABLED -eq 0 ]; then +elif [ $GDB_ENABLED -eq 0 ]; then "./$1" -c "$CONFIG" fi |