summaryrefslogtreecommitdiff
path: root/top
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2012-08-07 08:53:55 +0200
committerSimon Josefsson <simon@josefsson.org>2012-08-07 08:54:22 +0200
commita451aa0d0cbbec1efae7d07eb002fd4220511a27 (patch)
tree3745095ac193b621e598a10275004d55258f3d8a /top
parent39cedf6f427350ac47118d231c05a7b73b609f89 (diff)
downloadgnulib-a451aa0d0cbbec1efae7d07eb002fd4220511a27.tar.gz
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.
Diffstat (limited to 'top')
-rw-r--r--top/maint.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/top/maint.mk b/top/maint.mk
index f42c199d7f..a2b0b8d1bd 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -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' \