summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-08-06 02:36:24 +0000
committeradrianp <adrianp@pkgsrc.org>2007-08-06 02:36:24 +0000
commitbf4e848d4609350c65f9b4492333f67d03ce3798 (patch)
treeaf4b78c59d1e44faa5c6ca2a090e90095123acdb /mk
parentc1a6de9ce0502c72e8d1ce261751e9498f454385 (diff)
downloadpkgsrc-bf4e848d4609350c65f9b4492333f67d03ce3798.tar.gz
Fix show-vulnerabilities-html target for pkg_install>=20070714.
audit-packages prints vulnerabilities to stdout so compensate for this.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.readme.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.readme.mk b/mk/bsd.pkg.readme.mk
index c76cf882aeb..6d72be5cc4a 100644
--- a/mk/bsd.pkg.readme.mk
+++ b/mk/bsd.pkg.readme.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.readme.mk,v 1.9 2007/08/05 19:13:02 adrianp Exp $
+# $NetBSD: bsd.pkg.readme.mk,v 1.10 2007/08/06 02:36:24 adrianp Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and encapsulates the
# code to produce README.html files in each package directory.
@@ -252,7 +252,7 @@ show-vulnerabilities-html:
else \
_PKGVULNDIR=`audit-packages ${AUDIT_PACKAGES_FLAGS} -Q PKGVULNDIR`; \
if [ -f $$_PKGVULNDIR/pkg-vulnerabilities ]; then \
- audit-packages ${AUDIT_PACKAGES_FLAGS} -n ${PKGNAME} |${AWK} \
+ audit-packages ${AUDIT_PACKAGES_FLAGS} -n ${PKGNAME} 2>&1| ${AWK} \
'{ gsub("\<", "\\&lt;", $$2); \
gsub("\>", "\\&gt;", $$2); \
printf("<LI><STRONG>%s has a %s exploit (see <a href=\"%s\">%s</a> for more details)</STRONG></LI>\n", $$2, $$5, $$8, $$8) }'; \