$NetBSD$

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