summaryrefslogtreecommitdiff
path: root/manaplus/connect_local_server.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-16 17:19:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-16 17:24:52 +0300
commit899eaf941effe56c95ddf23dc358e0fceed4c017 (patch)
tree6f6ff9a03a1d45b100910c1a818d3592e7f0315a /manaplus/connect_local_server.sh
parent6745314fa8a15833c423e017db7b10b6b44f09b6 (diff)
downloadtools-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-xmanaplus/connect_local_server.sh11
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