summaryrefslogtreecommitdiff
path: root/games/quake3arena-demo/files/wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake3arena-demo/files/wrapper.sh')
-rw-r--r--games/quake3arena-demo/files/wrapper.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/quake3arena-demo/files/wrapper.sh b/games/quake3arena-demo/files/wrapper.sh
new file mode 100644
index 00000000000..4d649e2ed0e
--- /dev/null
+++ b/games/quake3arena-demo/files/wrapper.sh
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+# $NetBSD: wrapper.sh,v 1.1.1.1 2000/12/09 18:25:05 wiz Exp $
+# Simple wrapper for lokigames @@BINNAME@@
+
+# linux binary calls mkdir for this with a trailing '/'
+if [ ! -d $HOME/.loki ];then
+ mkdir $HOME/.loki
+fi
+cd @@LIBDIR@@
+exec ./@@BINNAME@@ $@