maintainer-makefile: cover a few more files
authorEric Blake <eblake@redhat.com>
Sat, 13 Nov 2010 20:44:07 +0000 (13:44 -0700)
committerEric Blake <eblake@redhat.com>
Sat, 13 Nov 2010 20:44:07 +0000 (13:44 -0700)
* 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>
ChangeLog
top/maint.mk

index fe84ead..97cebc2 100644 (file)
--- 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.
index 65c2f80..2c1be85 100644 (file)
@@ -820,7 +820,7 @@ sc_prohibit_test_minus_ao:
 # 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)