]> git.saurik.com Git - bison.git/blobdiff - tests/bison.in
Convert multiple variable definition warnings to complaints.
[bison.git] / tests / bison.in
index 4adaefa684e33d03555bed250772c3c057a3e73f..b90c087a31e3e565ad5cf4baa22034e2ac024769 100644 (file)
@@ -1,11 +1,8 @@
-#! /bin/sh
-# @configure_generated@
+#! @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='@top_srcpath@/src/bison.simple'
-export BISON_SIMPLE
-BISON_HAIRY='@top_srcpath@/src/bison.hairy'
-export BISON_HAIRY
-
-exec '@top_buildpath@/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+"$@"}