]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - hack/hack.sh
Don't use <sys/cdefs.h> __COPYRIGHT/__RCSID macros for host programs -
[bsdgames-darwin.git] / hack / hack.sh
1 #!/bin/sh
2 # $NetBSD: hack.sh,v 1.2 1995/03/23 08:31:30 cgd Exp $
3 HACKDIR=/usr/games/lib/hackdir
4 HACK=$HACKDIR/hack
5 MAXNROFPLAYERS=4
6
7 cd $HACKDIR
8 case $1 in
9 -s*)
10 exec $HACK $@
11 ;;
12 *)
13 exec $HACK $@ $MAXNROFPLAYERS
14 ;;
15 esac