pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_chk/files Obfuscate a bit so that +BUILD_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0a92c7bbc80
branches:  trunk
changeset: 530222:d0a92c7bbc80
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jun 19 13:45:50 2007 +0000

description:
Obfuscate a bit so that +BUILD_VERSION doesn't contain incorrect
RCS IDs.

diffstat:

 pkgtools/pkg_chk/files/pkg_chk.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 4b6c2582ea84 -r d0a92c7bbc80 pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Tue Jun 19 13:39:56 2007 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Tue Jun 19 13:45:50 2007 +0000
@@ -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 @@
        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--"



Home | Main Index | Thread Index | Old Index