maintainer-makefile: Fix syntax error with dash.
authorSimon Josefsson <simon@josefsson.org>
Tue, 7 Aug 2012 06:53:55 +0000 (08:53 +0200)
committerSimon Josefsson <simon@josefsson.org>
Tue, 7 Aug 2012 06:54:22 +0000 (08:54 +0200)
* top/maint.mk (sc_vulnerable_makefile_CVE-2009-4029): Quote arguments.
(sc_vulnerable_makefile_CVE-2012-3386): Likewise.

ChangeLog
top/maint.mk

index 774cdb1..4c318b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-08-07  Simon Josefsson  <simon@josefsson.org>
+           Jim Meyering  <meyering@redhat.com>
+
+       maintainer-makefile: Fix syntax error with dash.
+       * top/maint.mk (sc_vulnerable_makefile_CVE-2009-4029): Quote arguments.
+       (sc_vulnerable_makefile_CVE-2012-3386): Likewise.
+
 2012-08-05  Jim Meyering  <meyering@redhat.com>
 
        extern-inline: also ignore -Wmissing-declarations
index f42c199..a2b0b8d 100644 (file)
@@ -1222,7 +1222,7 @@ sc_prohibit_path_max_allocation:
 
 sc_vulnerable_makefile_CVE-2009-4029:
        @prohibit='perm -777 -exec chmod a\+rwx|chmod 777 \$$\(distdir\)' \
-       in_files=(^\|/)Makefile\\.in$$                                  \
+       in_files='(^|/)Makefile\.in$$'                                  \
        halt=$$(printf '%s\n'                                           \
          'the above files are vulnerable; beware of running'           \
          '  "make dist*" rules, and upgrade to fixed automake'         \
@@ -1231,7 +1231,7 @@ sc_vulnerable_makefile_CVE-2009-4029:
 
 sc_vulnerable_makefile_CVE-2012-3386:
        @prohibit='chmod a\+w \$$\(distdir\)'                           \
-       in_files=(^\|/)Makefile\\.in$$                                  \
+       in_files='(^|/)Makefile\.in$$'                                  \
        halt=$$(printf '%s\n'                                           \
          'the above files are vulnerable; beware of running'           \
          '  "make distcheck", and upgrade to fixed automake'           \