diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-16 17:19:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-16 17:24:52 +0300 |
commit | 899eaf941effe56c95ddf23dc358e0fceed4c017 (patch) | |
tree | 6f6ff9a03a1d45b100910c1a818d3592e7f0315a /manaplus/connect_local_server.sh | |
parent | 6745314fa8a15833c423e017db7b10b6b44f09b6 (diff) | |
download | tools-899eaf941effe56c95ddf23dc358e0fceed4c017.tar.gz tools-899eaf941effe56c95ddf23dc358e0fceed4c017.tar.bz2 tools-899eaf941effe56c95ddf23dc358e0fceed4c017.tar.xz tools-899eaf941effe56c95ddf23dc358e0fceed4c017.zip |
Add script and configuration for launch manaplus and connect to local evol server.
New script: manaplus/connect_local_server.sh
Diffstat (limited to 'manaplus/connect_local_server.sh')
-rwxr-xr-x | manaplus/connect_local_server.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manaplus/connect_local_server.sh b/manaplus/connect_local_server.sh new file mode 100755 index 0000000..314d772 --- /dev/null +++ b/manaplus/connect_local_server.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +export MANAPLUS="../../manaplus/src/manaplus" +if [ -f "$MANAPLUS" ]; then + echo "Starting local manaplus" +else + echo "Starting system manaplus" + export MANAPLUS="manaplus" +fi + +${MANAPLUS} -d ../../client-data evol.manaplus |