1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Stefan Ritter <xeno@thehappy.de>
Subject: The old script was weird
--- a/win/gl/glhack.sh
+++ b/win/gl/glhack.sh
@@ -1,14 +1,3 @@
#!/bin/sh
-# SCCS Id: @(#)nethack.sh 3.3 90/02/26
-HACKDIR=/usr/games/lib/nethackdir
-export HACKDIR
-HACK=$HACKDIR/nethack
-
-# -AJA- removed HACKPAGER stuff, unused in glHack.
-#
-# Note: the above HACKDIR directory gets modified to the actual
-# directory by the top-level Makefile during installation.
-
-cd $HACKDIR
-exec $HACK "$@"
+exec /usr/lib/games/glhack/glhack
|