diff options
author | abs <abs@pkgsrc.org> | 2002-10-08 11:43:33 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-10-08 11:43:33 +0000 |
commit | fa69af438a5535d1d808a5b76c989685a1a93c58 (patch) | |
tree | eee296bac3a73b118fd0a186082d8894f6e4e33f /pkgtools | |
parent | 6502fab273b6b94ff136a6c6708066519b3f1e55 (diff) | |
download | pkgsrc-fa69af438a5535d1d808a5b76c989685a1a93c58.tar.gz |
Update pkg_chk to 1.33:
Work around a deficiency in the 1.6 pkg_add - cd to the directory
containing a binary package before running pkg_add, to ensure it can
pick up dependencies.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkgchk/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkgchk/files/pkgchk.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkgchk/Makefile b/pkgtools/pkgchk/Makefile index 15b9d955486..85751f7a8a7 100644 --- a/pkgtools/pkgchk/Makefile +++ b/pkgtools/pkgchk/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.34 2002/09/13 11:45:03 abs Exp $ +# $NetBSD: Makefile,v 1.35 2002/10/08 11:43:33 abs Exp $ -DISTNAME= pkgchk-1.32 +DISTNAME= pkgchk-1.33 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh index a2b7b5e0a21..20fae542056 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.35 2002/09/13 11:45:03 abs Exp $ +# $Id: pkgchk.sh,v 1.36 2002/10/08 11:43:34 abs Exp $ # # TODO: Handle updates with dependencies via binary packages @@ -174,7 +174,7 @@ pkg_install() fi fi export PKG_PATH=$saved_PKG_PATH - run_cmd "${PKG_ADD} $PACKAGES/All/$PKGNAME.tgz" + run_cmd "cd $PACKAGES/All && ${PKG_ADD} $PKGNAME.tgz" unset PKG_PATH elif [ -n "$opt_s" ]; then run_cmd "cd $PKGSRCDIR/$PKGDIR && ${MAKE} update" |