summaryrefslogblamecommitdiff
path: root/manaplus/connect_local_server.sh
blob: 33232cda0172b3e13246340e733519b25ee452e4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                
#!/usr/bin/env bash

sleep 3

export MANAPLUS="../../manaplus/src/manaplus"
if [ -f "$MANAPLUS" ]; then
    echo "Starting local manaplus"
else
    echo "Starting system manaplus"
    export MANAPLUS="manaplus"
fi

${MANAPLUS} -u -d ../../clientdata tmw2.manaplus