summaryrefslogtreecommitdiffstats
path: root/games/ggmud/ggmud-wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/ggmud/ggmud-wrapper.sh')
-rw-r--r--games/ggmud/ggmud-wrapper.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/games/ggmud/ggmud-wrapper.sh b/games/ggmud/ggmud-wrapper.sh
new file mode 100644
index 0000000000..ab6a538d21
--- /dev/null
+++ b/games/ggmud/ggmud-wrapper.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# wrapper script for ggmud, part of SlackBuilds.org ggmud build.
+# written by B. Watson, licensed under the WTFPL.
+# this script is needed because ggmud segfaults if it's started
+# from anywhere but its install directory.
+
+cd @OPT@/ggmud && exec ./ggmud "$@"