From 882379f883aebb94371a0ecefa130160912120ec Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 28 Dec 2020 11:38:20 +0100 Subject: [PATCH] Make: Use SHELL to run test scripts, since /bin/sh may suck The test scripts need a POSIX-compliant Bourne shell. /bin/sh isn't on some systems, such as Solaris. Run them with $(SHELL). Signed-off-by: Markus Armbruster --- Make.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Make.mk b/Make.mk index 072e27f48..29578bcaf 100644 --- a/Make.mk +++ b/Make.mk @@ -100,7 +100,7 @@ endif # Helper for running tests # Usage: $(call run-test, SHELL-SCRIPT) # Recursively expanded, or else parameters don't work -run-test = $(call quiet-command, $1 $(srcdir), TEST $1) +run-test = $(call quiet-command, $(SHELL) -e $1 $(srcdir), TEST $1) # How to substitute Autoconf output variables # Recursively expanded so that $@ and $< work. -- 2.43.0