blob: 4a8c555390303afe5b5d68b30764420ba02529d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ad,v 1.4 2002/03/25 20:32:26 pooka Exp $
--- sys/unix/nethack.sh.orig Thu Mar 21 01:43:54 2002
+++ sys/unix/nethack.sh Fri Mar 22 17:39:00 2002
@@ -1,9 +1,15 @@
#!/bin/sh
# SCCS Id: @(#)nethack.sh 3.4 1990/02/26
-HACKDIR=/usr/games/lib/nethackdir
+if [ "$1" = "" ]; then
+ TTY=tty
+else
+ TTY=$1
+fi
+
+HACKDIR=XXXPREFIXXXX/share/nethackdir340
export HACKDIR
-HACK=$HACKDIR/nethack
+HACK=XXXPREFIXXXX/bin/nethack-$TTY
MAXNROFPLAYERS=4
# see if we can find the full path name of PAGER, so help files work properly
|