summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-12-27 19:45:01 +0000
committerabs <abs@pkgsrc.org>2001-12-27 19:45:01 +0000
commita07f02e565a2be988490dc4fd330c7fc1b364bba (patch)
tree57f2ac510b76ed1b4363e08d05de1b9471c680da
parentab1caa7c6de6c892f3a83f29fb4ec38890f25b0d (diff)
downloadpkgsrc-a07f02e565a2be988490dc4fd330c7fc1b364bba.tar.gz
Updated pkgchk to 1.22
When comparing BUILD_VERSION, we _really_ do not care what PKGSRCDIR was
-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 cd261fe4e79..2a2f10ab818 100644
--- a/pkgtools/pkgchk/Makefile
+++ b/pkgtools/pkgchk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2001/12/24 14:15:56 abs Exp $
+# $NetBSD: Makefile,v 1.23 2001/12/27 19:45:01 abs Exp $
-DISTNAME= pkgchk-1.21
+DISTNAME= pkgchk-1.22
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh
index f70ffa71564..e28b039c48d 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.24 2001/12/24 14:15:56 abs Exp $
+# $Id: pkgchk.sh,v 1.25 2001/12/27 19:45:01 abs Exp $
#
# TODO: Handle updates with dependencies via binary packages
@@ -52,7 +52,7 @@ check_packages_installed()
else
if [ -n "$opt_B" ];then
current_build_ver=`get_build_ver`
- installed_build_ver=`cat /var/db/pkg/$PKGNAME/+BUILD_VERSION | sed "s:^${real_pkgsrcdir}/::"`
+ installed_build_ver=`cat /var/db/pkg/$PKGNAME/+BUILD_VERSION | sed "s:^.*/pkgsrc/::"`
if [ x"$current_build_ver" != x"$installed_build_ver" ];then
echo "$PKGNAME: build version information mismatch"
MISMATCH_TODO="$MISMATCH_TODO $PKGNAME"