File: 03-startupfile-fix.patch

package info (click to toggle)
glhack 1.2-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,748 kB
  • sloc: ansic: 208,571; cpp: 13,139; yacc: 2,005; makefile: 1,152; lex: 377; sh: 121; awk: 89; sed: 11
file content (21 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (4)
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