summaryrefslogtreecommitdiff
path: root/herculeswrapper/include.sh
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2016-12-13 12:20:38 -0500
committergumi <mekolat@users.noreply.github.com>2016-12-13 12:27:18 -0500
commit6312a0632d5c03364e4c4a36258f1492f4bcdd3d (patch)
treefcc072a9d3417abe0024c065031ce2369872ba9c /herculeswrapper/include.sh
parent1c25ac4c505ba25773f9018a2e0476fd34321228 (diff)
downloadtools-6312a0632d5c03364e4c4a36258f1492f4bcdd3d.tar.gz
tools-6312a0632d5c03364e4c4a36258f1492f4bcdd3d.tar.bz2
tools-6312a0632d5c03364e4c4a36258f1492f4bcdd3d.tar.xz
tools-6312a0632d5c03364e4c4a36258f1492f4bcdd3d.zip
use a temp global variable for debug motd
Diffstat (limited to 'herculeswrapper/include.sh')
-rw-r--r--herculeswrapper/include.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/herculeswrapper/include.sh b/herculeswrapper/include.sh
index 753f40c..d251f9b 100644
--- a/herculeswrapper/include.sh
+++ b/herculeswrapper/include.sh
@@ -229,7 +229,7 @@ function git_merge {
source ../tools/herculeswrapper/herc-map-wrapper-config
run test -f $motd
- echo -e 'function\tscript\tMOTD_debug_text\t{\n setarray $Debug_Messages$,' > $motd
+ echo -e 'function\tscript\tMOTD_debug_text\t{\n setarray $@Debug_Messages$[0],' > $motd
run git fetch --all
run git reset --hard $server_main_branch
info 'commit=$(' git rev-parse --verify -q $server_main_branch ')'