diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-19 13:45:50 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-19 13:45:50 +0000 |
commit | 33d42db9d328df9c8318542dfa5c5daaf676d7f4 (patch) | |
tree | fb9e4ee03ed87fa1bf72e8dd66f081c4cd1f2df8 /pkgtools | |
parent | 974e9912acb6860073365958c2f1993c9c7470e5 (diff) | |
download | pkgsrc-33d42db9d328df9c8318542dfa5c5daaf676d7f4.tar.gz |
Obfuscate a bit so that +BUILD_VERSION doesn't contain incorrect
RCS IDs.
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/pkg_chk/files/pkg_chk.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_chk/files/pkg_chk.sh b/pkgtools/pkg_chk/files/pkg_chk.sh index 31fb3f7eb30..81929eedec3 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.48 2007/04/20 09:50:21 tron Exp $ +# $Id: pkg_chk.sh,v 1.49 2007/06/19 13:45:50 joerg Exp $ # # TODO: Make -g check dependencies and tsort # TODO: Variation of -g which only lists top level packages @@ -66,8 +66,8 @@ check_packages_installed() else if [ -n "$opt_B" ];then # sort here temporarily to handle older +BUILD_VERSION - current_build_ver=$(get_build_ver | ${SED} 's|.*\$NetBSD\: ||' | ${SORT} -u) - installed_build_ver=$(${SED} 's|.*\$NetBSD\: ||' $PKG_DBDIR/$PKGNAME/+BUILD_VERSION | ${SORT} -u) + current_build_ver=$(get_build_ver | ${SED} 's|.*\$Net''BSD\: ||' | ${SORT} -u) + installed_build_ver=$(${SED} 's|.*\$Net''BSD\: ||' $PKG_DBDIR/$PKGNAME/+BUILD_VERSION | ${SORT} -u) if [ x"$current_build_ver" != x"$installed_build_ver" ];then msg "$pkgdir - $PKGNAME build_version mismatch" verbose "--current--" |