diff options
author | abs <abs> | 2006-01-15 12:32:56 +0000 |
---|---|---|
committer | abs <abs> | 2006-01-15 12:32:56 +0000 |
commit | a727a0a4c5ddf46eb18f0f4381aabd3c6e809518 (patch) | |
tree | ed512587480fabd4bde9e75b89186554b3aee949 /pkgtools | |
parent | 9edfae1d75e8e8a76fd64ca9ffa824dfb4acc68b (diff) | |
download | pkgsrc-a727a0a4c5ddf46eb18f0f4381aabd3c6e809518.tar.gz |
Update pkgtools/pkg_chk to 1.66
Fix incorrect quotation in test
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_chk/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkg_chk/files/pkg_chk.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkg_chk/Makefile b/pkgtools/pkg_chk/Makefile index 256fbf612bc..45a124a5cbf 100644 --- a/pkgtools/pkg_chk/Makefile +++ b/pkgtools/pkg_chk/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.24 2006/01/12 21:17:16 joerg Exp $ +# $NetBSD: Makefile,v 1.25 2006/01/15 12:32:56 abs Exp $ -DISTNAME= pkg_chk-1.65 +DISTNAME= pkg_chk-1.66 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkg_chk/files/pkg_chk.sh b/pkgtools/pkg_chk/files/pkg_chk.sh index cf30fd27fdd..3717c6ec183 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.25 2006/01/12 21:17:16 joerg Exp $ +# $Id: pkg_chk.sh,v 1.26 2006/01/15 12:32:56 abs Exp $ # # TODO: Make -g check dependencies and tsort # TODO: Variation of -g which only lists top level packages @@ -149,7 +149,7 @@ extract_pkg_vars() extract_variables() { extract_mk_var PKGSRCDIR /usr/pkgsrc - if [ ! -d $PKGSRCDIR -a ! $opt_b ] ; then + if [ ! -d $PKGSRCDIR -a -z "$opt_b" ] ; then fatal "Unable to locate PKGSRCDIR ($PKGSRCDIR)" fi extract_mk_var PKG_DBDIR /var/db/pkg |