pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_chk Fix precedence botch which breaks inv...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3be81910faf0
branches:  trunk
changeset: 504547:3be81910faf0
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Tue Dec 13 15:26:05 2005 +0000

description:
Fix precedence botch which breaks invocation using source.

diffstat:

 pkgtools/pkg_chk/Makefile         |  4 ++--
 pkgtools/pkg_chk/files/pkg_chk.sh |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 0fc6c6b016da -r 3be81910faf0 pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Tue Dec 13 15:24:09 2005 +0000
+++ b/pkgtools/pkg_chk/Makefile Tue Dec 13 15:26:05 2005 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2005/12/12 13:36:37 dillo Exp $
+# $NetBSD: Makefile,v 1.22 2005/12/13 15:26:05 dillo Exp $
 
-DISTNAME=      pkg_chk-1.63
+DISTNAME=      pkg_chk-1.63.1
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 0fc6c6b016da -r 3be81910faf0 pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Tue Dec 13 15:24:09 2005 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Tue Dec 13 15:26:05 2005 +0000
@@ -1,6 +1,6 @@
 #!@SH@ -e
 #
-# $Id: pkg_chk.sh,v 1.22 2005/12/12 13:36:38 dillo Exp $
+# $Id: pkg_chk.sh,v 1.23 2005/12/13 15:26:05 dillo Exp $
 #
 # TODO: Make -g check dependencies and tsort
 # TODO: Variation of -g which only lists top level packages
@@ -694,7 +694,7 @@
        done
 fi
 
-if [ -n "$opt_b" -o -n "$opt_S" -a -z "$opt_s" ] ; then
+if [ \( -n "$opt_b" -o -n "$opt_S" \) -a -z "$opt_s" ] ; then
     case $PACKAGES in
        http://*|ftp://*)
            PKGDB=`ftp -o - $PACKAGES/$SUMMARY_FILE`;;



Home | Main Index | Thread Index | Old Index