diff options
author | joerg <joerg> | 2007-06-19 13:45:50 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-06-19 13:45:50 +0000 |
commit | 7f38a7aa0425cfceb0f31a80fec0edabbe6eff32 (patch) | |
tree | fb9e4ee03ed87fa1bf72e8dd66f081c4cd1f2df8 | |
parent | 6491a0df58cef1b9ef612d994aa21c836cdd3c62 (diff) | |
download | pkgsrc-7f38a7aa0425cfceb0f31a80fec0edabbe6eff32.tar.gz |
Obfuscate a bit so that +BUILD_VERSION doesn't contain incorrect
RCS IDs.
-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--" |