blob: baccd379ce33c7e924108c1c8e8cd198f3be27e5 (
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.5 2003/09/02 00:30:55 pooka Exp $
--- sys/unix/nethack.sh.orig 2003-08-30 03:08:04.000000000 +0300
+++ sys/unix/nethack.sh 2003-09-02 02:52:31.000000000 +0300
@@ -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
# Since Nethack.ad is installed in HACKDIR, add it to XUSERFILESEARCHPATH
|