From 83ebc8bdb66a45b0a82d1b7ae7024cf69c53df4c Mon Sep 17 00:00:00 2001 From: Kiyoshi Kanazawa Date: Sun, 27 Jan 2019 06:58:17 +0100 Subject: [PATCH] tests: don't depend on the user's definition of SHELL http://lists.gnu.org/archive/html/bug-bison/2019-01/msg00031.html * examples/test (SHELL): Set it to /bin/sh. --- examples/test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/test b/examples/test index 5e643c1f..d987d094 100755 --- a/examples/test +++ b/examples/test @@ -15,6 +15,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +SHELL=/bin/sh +export SHELL + me=$(basename "$1" .test) medir=$(dirname "$1" | sed -e 's,.*examples/,,')