summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-08-06 02:43:34 +0000
committeradrianp <adrianp@pkgsrc.org>2007-08-06 02:43:34 +0000
commitd176003e130a76c959a2c4ba828e372a1996620f (patch)
tree962d85d8aa8b54c44b66b2f902af24fdb9a426cb /mk/bulk
parentbf4e848d4609350c65f9b4492333f67d03ce3798 (diff)
downloadpkgsrc-d176003e130a76c959a2c4ba828e372a1996620f.tar.gz
audit-packages prints vulnerabilities to stdout so compensate for this.
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/sort-packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/sort-packages b/mk/bulk/sort-packages
index a6a6d8c1683..cfb5d420ed1 100644
--- a/mk/bulk/sort-packages
+++ b/mk/bulk/sort-packages
@@ -1,5 +1,5 @@
#! /bin/sh
-# $NetBSD: sort-packages,v 1.8 2007/07/14 17:17:45 adrianp Exp $
+# $NetBSD: sort-packages,v 1.9 2007/08/06 02:43:34 adrianp Exp $
# This program scans all binary packages in the current directory and
# creates three lists of files in OUTDIR:
@@ -77,7 +77,7 @@ for pkg in *${PKG_SUFX}; do
vuln=`${AUDIT_PACKAGES} -p "${pkg}"`
fi
else
- vuln=`${AUDIT_PACKAGES} ${AUDIT_PACKAGES_FLAGS} -p "${pkg}"`
+ vuln=`${AUDIT_PACKAGES} ${AUDIT_PACKAGES_FLAGS} -p "${pkg}" 2>&1`
fi
if [ -n "${vuln}" ]; then
category="vulnerable"