summaryrefslogtreecommitdiff
path: root/pkgtools/pkgchk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2003-06-18 08:58:12 +0000
committerabs <abs@pkgsrc.org>2003-06-18 08:58:12 +0000
commit7bfbddf260c0fdd62048893c6f8102dd66e6cfbd (patch)
treea3432ecddefc24b9a21bbd79351ec0ae13210a88 /pkgtools/pkgchk
parent0d7bf44b26770f1291c18b9e2c128f512f41722a (diff)
downloadpkgsrc-7bfbddf260c0fdd62048893c6f8102dd66e6cfbd.tar.gz
Update pkgchk to 1.38:
Handle 'PKGPATH=' and 'PKGPATH= ' in pkg_info -B. From Marc Recht in PR pkg/21895
Diffstat (limited to 'pkgtools/pkgchk')
-rw-r--r--pkgtools/pkgchk/Makefile4
-rwxr-xr-xpkgtools/pkgchk/files/pkgchk.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkgchk/Makefile b/pkgtools/pkgchk/Makefile
index ff3784c39b9..dd96b73c1d1 100644
--- a/pkgtools/pkgchk/Makefile
+++ b/pkgtools/pkgchk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2003/06/16 11:52:52 abs Exp $
+# $NetBSD: Makefile,v 1.41 2003/06/18 08:58:12 abs Exp $
-DISTNAME= pkgchk-1.37
+DISTNAME= pkgchk-1.38
WRKSRC= ${WRKDIR}
CATEGORIES= pkgtools
MASTER_SITES= # empty
diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh
index 9e9500990e3..74895a9e60a 100755
--- a/pkgtools/pkgchk/files/pkgchk.sh
+++ b/pkgtools/pkgchk/files/pkgchk.sh
@@ -1,6 +1,6 @@
#!/bin/sh -e
#
-# $Id: pkgchk.sh,v 1.40 2003/06/16 11:52:53 abs Exp $
+# $Id: pkgchk.sh,v 1.41 2003/06/18 08:58:13 abs Exp $
#
# TODO: Handle updates with dependencies via binary packages
@@ -338,7 +338,7 @@ cd $PKGSRCDIR
real_pkgsrcdir=`pwd`
if [ -n "$opt_i" ];then
- PKGDIRLIST=`sh -c "${PKG_INFO} -B \*" | ${AWK} '/PKGPATH= /{printf $2" "}'`
+ PKGDIRLIST=`sh -c "${PKG_INFO} -B \*" | ${AWK} -F= '/PKGPATH=/{printf $2" "}'`
fi
if [ -n "$opt_c" ];then