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 quoting so that the code to detec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4258d150066a
branches:  trunk
changeset: 528066:4258d150066a
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Apr 20 09:25:36 2007 +0000

description:
Fix quoting so that the code to detect the location of "mk.conf" actually
works (under Darwin?). Bump package revision again.

diffstat:

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

diffs (33 lines):

diff -r 5a915eebf4fe -r 4258d150066a pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Fri Apr 20 08:33:41 2007 +0000
+++ b/pkgtools/pkg_chk/Makefile Fri Apr 20 09:25:36 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2007/04/19 18:44:22 abs Exp $
+# $NetBSD: Makefile,v 1.50 2007/04/20 09:25:36 tron Exp $
 
 DISTNAME=      pkg_chk-1.85
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 5a915eebf4fe -r 4258d150066a pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Fri Apr 20 08:33:41 2007 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Fri Apr 20 09:25:36 2007 +0000
@@ -1,6 +1,6 @@
 #!@SH@ -e
 #
-# $Id: pkg_chk.sh,v 1.46 2007/04/16 18:42:21 abs Exp $
+# $Id: pkg_chk.sh,v 1.47 2007/04/20 09:25:37 tron Exp $
 #
 # TODO: Make -g check dependencies and tsort
 # TODO: Variation of -g which only lists top level packages
@@ -701,7 +701,7 @@
 test -n "$SORT"              || SORT="@SORT@"
 test -n "$TSORT"      || TSORT="@TSORT@"
 
-if [ ! -f $MAKECONF ] ; then
+if [ ! -f "$MAKECONF" ] ; then
     if [ -f @PREFIX@/etc/mk.conf ] ; then
        MAKECONF=@PREFIX@/etc/mk.conf
     elif [ -f /etc/mk.conf ] ; then



Home | Main Index | Thread Index | Old Index