--- 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=""