diff options
Diffstat (limited to 'actionfps-cubedir.patch')
-rw-r--r-- | actionfps-cubedir.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/actionfps-cubedir.patch b/actionfps-cubedir.patch new file mode 100644 index 000000000000..e400becdf590 --- /dev/null +++ b/actionfps-cubedir.patch @@ -0,0 +1,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="" |