summarylogtreecommitdiffstats
path: root/actionfps-cubedir.patch
diff options
context:
space:
mode:
authorTucker Boniface2019-02-03 18:11:15 -0800
committerTucker Boniface2019-02-03 18:11:15 -0800
commit2da82715f5d6dfaaeb06853772b6a501fa6f2205 (patch)
tree2f3c9ecbd89a399030e2c2001551b02f3684024f /actionfps-cubedir.patch
parente89386b46c6ee22ea4e70d4ca65eedd21c5ae577 (diff)
downloadaur-2da82715f5d6dfaaeb06853772b6a501fa6f2205.tar.gz
overhaul pkgbuild and update to 2.0.0-M3
Diffstat (limited to 'actionfps-cubedir.patch')
-rw-r--r--actionfps-cubedir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/actionfps-cubedir.patch b/actionfps-cubedir.patch
new file mode 100644
index 00000000000..e400becdf59
--- /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=""