summaryrefslogtreecommitdiff
path: root/manaplus/connect_local_server.sh
diff options
context:
space:
mode:
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