]> git.saurik.com Git - bison.git/blobdiff - tests/bison.in
data/glr.c (yyfill): Adjust comment.
[bison.git] / tests / bison.in
index 6bce1d7343410fc3e4258b77a7ad518f5b3df0d7..b90c087a31e3e565ad5cf4baa22034e2ac024769 100644 (file)
@@ -1,11 +1,8 @@
-#! /bin/sh
+#! @SHELL@
 # @configure_input@
 # Wrapper around a non installed bison to make it work as an installed one.
 
-# We want to use the files shipped with Bison.
-BISON_SIMPLE='@abs_top_srcdir@/data/bison.simple'
-export BISON_SIMPLE
-BISON_HAIRY='@abs_top_srcdir@/data/bison.hairy'
-export BISON_HAIRY
-
-exec '@abs_top_builddir@/src/bison' ${1+"$@"}
+# Use the shipped files, not those installed.
+BISON_PKGDATADIR='@abs_top_srcdir@/data'
+export BISON_PKGDATADIR
+exec $PREBISON '@abs_top_builddir@/src/bison' ${1+"$@"}