Update pkg_chk to 2.0.8 Fix missing { } in awk section in 2.0.7

This commit is contained in:
abs 2014-04-23 00:01:01 +00:00
parent 8b9608fda4
commit 24c4be8f7d
2 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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 '-'