]> git.saurik.com Git - bison.git/blobdiff - tests/bison.in
* src/assoc.c (assoc_to_string): Use a default: abort (); case
[bison.git] / tests / bison.in
index 67e5f08a30a170cb04a8a8ad664a533c8aef962e..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@/src/bison.simple'
-export BISON_SIMPLE
-BISON_HAIRY='@abs_top_srcdir@/src/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+"$@"}