blob: e400becdf590cf3992af26f72f488a61155ec72f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- server.sh.orig 2019-02-03 17:40:47.795480878 -0800
+++ server.sh 2019-02-03 17:41:35.728521639 -0800
@@ -3,7 +3,7 @@
# CUBE_DIR should refer to the directory in which AssaultCube is placed.
#CUBE_DIR=~/assaultcube
#CUBE_DIR=/usr/local/assaultcube
-CUBE_DIR=.
+CUBE_DIR=$(dirname "$(readlink -f "${0}")")
# CUBE_OPTIONS starts AssaultCube with any command line options you choose.
CUBE_OPTIONS=""
|