pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Fix error introduced in rev. 1.1606: "$${PKGVULNDIR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9b8411000d56
branches:  trunk
changeset: 492458:9b8411000d56
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Apr 13 14:07:30 2005 +0000

description:
Fix error introduced in rev. 1.1606: "$${PKGVULNDIR}" should be
"${PKGVULNDIR}" (one $, not two).  This was causing the vulnerabilities
file to be looked for in the wrong place.  This fix makes the
check-vulnerable target actually parse the vulnerabilities file and
look for vulnerable installed packages again.

diffstat:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f3c3269039ae -r 9b8411000d56 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed Apr 13 13:59:10 2005 +0000
+++ b/mk/bsd.pkg.mk     Wed Apr 13 14:07:30 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1608 2005/04/05 14:00:33 tv Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1609 2005/04/13 14:07:30 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -1408,7 +1408,7 @@
        elif [ ! -z "${PKG_SYSCONFDIR}" -a -f ${PKG_SYSCONFDIR}/audit-packages.conf ]; then \
                . ${PKG_SYSCONFDIR}/audit-packages.conf;                \
        fi;                                                             \
-       if [ -f $${PKGVULNDIR}/pkg-vulnerabilities ]; then              \
+       if [ -f ${PKGVULNDIR}/pkg-vulnerabilities ]; then               \
                ${SETENV} PKGNAME="${PKGNAME}"                          \
                          PKGBASE="${PKGBASE}"                          \
                        ${AWK} '/^$$/ { next }                          \



Home | Main Index | Thread Index | Old Index