diff options
author | kim <kim@pkgsrc.org> | 2002-06-04 23:01:34 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2002-06-04 23:01:34 +0000 |
commit | c1bd0953b5ef4cde61e062542c0cfdd43d8c7b1a (patch) | |
tree | 9b83e73a6c104e7c78f6d106180e9dd692509762 /security/audit-packages | |
parent | 9d4e97498750f6de6c7712ee39cba0a30146dea9 (diff) | |
download | pkgsrc-c1bd0953b5ef4cde61e062542c0cfdd43d8c7b1a.tar.gz |
Make sure we get the grandchild output before the script exits.
Diffstat (limited to 'security/audit-packages')
-rw-r--r-- | security/audit-packages/Makefile | 4 | ||||
-rwxr-xr-x | security/audit-packages/files/audit-packages | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index c2da56e3b0e..3c412013df8 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.15 2002/04/26 12:45:23 lukem Exp $ +# $NetBSD: Makefile,v 1.16 2002/06/04 23:01:34 kim Exp $ -DISTNAME= audit-packages-1.12 +DISTNAME= audit-packages-1.13 CATEGORIES= security pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages index 7a536914505..6d9e1b2131f 100755 --- a/security/audit-packages/files/audit-packages +++ b/security/audit-packages/files/audit-packages @@ -1,5 +1,5 @@ #! ${SH} -# $NetBSD: audit-packages,v 1.8 2002/04/26 12:45:24 lukem Exp $ +# $NetBSD: audit-packages,v 1.9 2002/06/04 23:01:34 kim Exp $ if [ ! -f ${PKGVULNDIR}/vulnerabilities ] ;then echo "** Missing ${PKGVULNDIR}/vulnerabilities" 1>&2 @@ -17,7 +17,7 @@ fi ${AWK} ' /^#.*/ { next } NF == 0 { next } - { cmd = sprintf("${PKG_TOOLS_BIN}/pkg_info -qe \"%s\" && echo Package \"`${PKG_TOOLS_BIN}/pkg_info -e '\''%s\'\''`\" has a %s vulnerability, see %s", $1, $1, $2, $3); + { cmd = sprintf("${PKG_TOOLS_BIN}/pkg_info -qe \"%s\" && echo Package \"`${PKG_TOOLS_BIN}/pkg_info -e '\''%s\'\''`\" has a %s vulnerability, see %s ; wait", $1, $1, $2, $3); system(cmd); } ' ${PKGVULNDIR}/vulnerabilities |