[PATCH] Run conformtest script explicitly with BASH

David Miller davem@davemloft.net
Mon Mar 26 01:58:00 GMT 2012


As discussed here last week, this script uses features which POSIX
shells such as dash will not have.

2012-03-25  David S. Miller  <davem@davemloft.net>

	* conform/Makefile: Run run-conformtest.sh using $(BASH).

diff --git a/conform/Makefile b/conform/Makefile
index 4915a67..ae9ac14 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -31,7 +31,7 @@ endif
 $(objpfx)run-conformtest.out: run-conformtest.sh conformtest.pl \
 			      $(wildcard data/*.h-data) \
 			      $(wildcard data/*/*.h-data)
-	-$(SHELL) -e $< $(objpfx) $(PERL) '$(CC)' \
+	-$(BASH) -e $< $(objpfx) $(PERL) '$(CC)' \
 	  '-I../include $(+sysdep-includes) $(sysincludes) -I..'
 
 generated = $(wildcard $(objpfx)conform-*.out)



More information about the Libc-alpha mailing list