changeset 13865:85922ab33c1c

maintainer-makefile: cover a few more files * top/maint.mk (sc_prohibit_test_double_equal): Also cover shell scripts generated within C files, for libvirt. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Sat, 13 Nov 2010 13:44:07 -0700
parents 83949b090c98
children 3612503784bb
files ChangeLog top/maint.mk
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-13  Eric Blake  <eblake@redhat.com>
+
+	maintainer-makefile: cover a few more files
+	* top/maint.mk (sc_prohibit_test_double_equal): Also cover shell
+	scripts generated within C files, for libvirt.
+
 2010-11-13  Bruno Haible  <bruno@clisp.org>
 
 	unistr/u8-mbtouc: Improve handling of ill-formed UTF-8 input.
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -820,7 +820,7 @@
 # Avoid a test bashism.
 sc_prohibit_test_double_equal:
 	@prohibit='(\<test| \[+) .+ == '				\
-	containing='^#! */bin/sh'					\
+	containing='#! */bin/[a-z]*sh'					\
 	halt='use "test x = x", not "test x =''= x"'			\
 	  $(_sc_search_regexp)