aboutsummaryrefslogtreecommitdiff
path: root/games/linux-doom3-demo/files
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-13 21:37:14 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-13 21:37:14 +0000
commitf1fc01ae88d4d154b6cceda0e3cbcccf16a30e97 (patch)
tree447c6b7dfb0c2969e344e7268e60bca8ce920f1b /games/linux-doom3-demo/files
parent2f44981d2ee0e75b24856042a432a5bc6e732900 (diff)
Notes
Diffstat (limited to 'games/linux-doom3-demo/files')
-rw-r--r--games/linux-doom3-demo/files/doom3-demo.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/linux-doom3-demo/files/doom3-demo.in b/games/linux-doom3-demo/files/doom3-demo.in
new file mode 100644
index 000000000000..0b91353beb55
--- /dev/null
+++ b/games/linux-doom3-demo/files/doom3-demo.in
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cd "@DOOMDIR@" || exit 1
+
+if [ -n "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:."
+else
+ export LD_LIBRARY_PATH="."
+fi
+
+exec ./doom.x86 "$@"