changeset 17036:73562b8a8559

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.
author Simon Josefsson <simon@josefsson.org>
date Tue, 07 Aug 2012 08:53:55 +0200
parents 599464b0cbf8
children abd788a78228
files ChangeLog top/maint.mk
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1222,7 +1222,7 @@
 
 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-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'		\