pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update pkg_chk to 1.51:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ba3136c8c43
branches:  trunk
changeset: 480258:1ba3136c8c43
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Sep 03 10:19:17 2004 +0000

description:
Update pkg_chk to 1.51:
Rather than leaving -- as the only argument and checking for one argument,
shift it away and check for zero remaining arguments.

diffstat:

 doc/CHANGES                       |  4 +++-
 pkgtools/pkg_chk/Makefile         |  4 ++--
 pkgtools/pkg_chk/files/pkg_chk.sh |  6 +++---
 3 files changed, 8 insertions(+), 6 deletions(-)

diffs (56 lines):

diff -r edcb8ba12f7e -r 1ba3136c8c43 doc/CHANGES
--- a/doc/CHANGES       Fri Sep 03 09:47:05 2004 +0000
+++ b/doc/CHANGES       Fri Sep 03 10:19:17 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.7085 2004/09/02 21:56:32 xtraeme Exp $
+$NetBSD: CHANGES,v 1.7086 2004/09/03 10:19:58 abs Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -4181,3 +4181,5 @@
        Added suse91_gtk2-9.1 [recht 2004-09-02]
        Added suse91_locale-9.1 [recht 2004-09-02]
        Updated fluxbox to 0.9.10 [xtraeme 2004-09-02]
+       Updated pkg_chk to 1.51 [abs 2004-09-02]
+
diff -r edcb8ba12f7e -r 1ba3136c8c43 pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Fri Sep 03 09:47:05 2004 +0000
+++ b/pkgtools/pkg_chk/Makefile Fri Sep 03 10:19:17 2004 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2004/08/28 23:10:34 grant Exp $
+# $NetBSD: Makefile,v 1.8 2004/09/03 10:19:17 abs Exp $
 
-DISTNAME=      pkg_chk-1.50
+DISTNAME=      pkg_chk-1.51
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r edcb8ba12f7e -r 1ba3136c8c43 pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Fri Sep 03 09:47:05 2004 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Fri Sep 03 10:19:17 2004 +0000
@@ -1,6 +1,6 @@
 #!@SH@ -e
 #
-# $Id: pkg_chk.sh,v 1.7 2004/08/28 23:10:34 grant Exp $
+# $Id: pkg_chk.sh,v 1.8 2004/09/03 10:19:17 abs Exp $
 #
 # TODO: Handle updates with dependencies via binary packages
 
@@ -333,7 +333,7 @@
        -s )    opt_s=1 ;;
        -u )    opt_u=1 ; opt_i=1 ;;
        -v )    opt_v=1 ;;
-       -- )    break ;;
+       -- )    shift; break ;;
     esac
     shift
 done
@@ -348,7 +348,7 @@
     opt_h=1;
 fi
 
-if [ -n "$opt_h" -o $# != 1 ];then
+if [ -n "$opt_h" -o $# != 0 ];then
     echo 'Usage: pkg_chk [opts]
        -B      Check the "Build version" of packages (implies -i)
        -C conf Use pkgchk.conf file 'conf'



Home | Main Index | Thread Index | Old Index