$NetBSD: patch-ad,v 1.2 1998/12/21 10:45:31 frueauf Exp $

--- setup.shell.orig	Wed Sep  7 16:34:36 1994
+++ setup.shell	Sat Oct  3 16:50:37 1998
@@ -2,11 +2,12 @@
 cat > $1 <<+++
 #!/bin/sh
 XLISPLIB=$2 export XLISPLIB
+XLSLIBEXEC=$3 export XLSLIBEXEC
 if test -f xlisp.wks; then WKS="xlisp.wks";
-else WKS="\${XLISPLIB}/xlisp.wks";
+else WKS="\${XLSLIBEXEC}/xlisp.wks";
 fi
 if test -f xlisp; then XLISP=xlisp;
-else XLISP="\${XLISPLIB}/xlisp"
+else XLISP="\${XLSLIBEXEC}/xlisp"
 fi
 exec \${XLISP} -w\${WKS} \$*
 +++
