diff options
author | gumi <mekolat@users.noreply.github.com> | 2016-12-13 12:20:38 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2016-12-13 12:27:18 -0500 |
commit | 6312a0632d5c03364e4c4a36258f1492f4bcdd3d (patch) | |
tree | fcc072a9d3417abe0024c065031ce2369872ba9c | |
parent | 1c25ac4c505ba25773f9018a2e0476fd34321228 (diff) | |
download | evol-tools-6312a0632d5c03364e4c4a36258f1492f4bcdd3d.tar.gz evol-tools-6312a0632d5c03364e4c4a36258f1492f4bcdd3d.tar.bz2 evol-tools-6312a0632d5c03364e4c4a36258f1492f4bcdd3d.tar.xz evol-tools-6312a0632d5c03364e4c4a36258f1492f4bcdd3d.zip |
use a temp global variable for debug motd
-rw-r--r-- | herculeswrapper/include.sh | 2 |
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 ')' |