summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_chk/Makefile4
-rwxr-xr-xpkgtools/pkg_chk/files/pkg_chk.sh4
2 files changed, 5 insertions, 3 deletions
diff --git a/pkgtools/pkg_chk/Makefile b/pkgtools/pkg_chk/Makefile
index e7b5ccb0541..9f57cd20e93 100644
--- a/pkgtools/pkg_chk/Makefile
+++ b/pkgtools/pkg_chk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.84 2014/04/21 21:32:26 abs Exp $
+# $NetBSD: Makefile,v 1.85 2014/04/23 00:01:01 abs Exp $
-PKGNAME= pkg_chk-2.0.7
+PKGNAME= pkg_chk-2.0.8
CATEGORIES= pkgtools
OWNER= abs@NetBSD.org
diff --git a/pkgtools/pkg_chk/files/pkg_chk.sh b/pkgtools/pkg_chk/files/pkg_chk.sh
index 8c113e3d9ff..c8dfd474b9c 100755
--- a/pkgtools/pkg_chk/files/pkg_chk.sh
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh
@@ -1,6 +1,6 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.72 2014/04/21 21:32:26 abs Exp $
+# $Id: pkg_chk.sh,v 1.73 2014/04/23 00:01:01 abs Exp $
#
# TODO: Make -g check dependencies and tsort
# TODO: Make -g list user-installed packages first, followed by commented
@@ -567,8 +567,10 @@ pkgdirs_from_conf()
{
taggroup = ""
if (match_all_packages || NF == 1) # If only one arg, we want pkg
+ {
print $1;
next;
+ }
}
for (f = 2 ; f<=NF ; ++f) { # For each word on the line
if (sub("^-", "", $f)) { # If it begins with a '-'