pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkgchk/files use ${AWK} instead of awk. makes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b95437bd71e7
branches:  trunk
changeset: 467887:b95437bd71e7
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Feb 07 21:40:17 2004 +0000

description:
use ${AWK} instead of awk. makes this work on Solaris.

diffstat:

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

diffs (20 lines):

diff -r a328c93b6823 -r b95437bd71e7 pkgtools/pkgchk/files/pkgchk.sh
--- a/pkgtools/pkgchk/files/pkgchk.sh   Sat Feb 07 21:31:41 2004 +0000
+++ b/pkgtools/pkgchk/files/pkgchk.sh   Sat Feb 07 21:40:17 2004 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 #
-# $Id: pkgchk.sh,v 1.48 2003/12/09 12:54:13 abs Exp $
+# $Id: pkgchk.sh,v 1.49 2004/02/07 21:40:17 grant Exp $
 #
 # TODO: Handle updates with dependencies via binary packages
 
@@ -427,7 +427,7 @@
                mv $PKGCHK_CONF ${PKGCHK_CONF}.old
        fi
        echo "# Generated automatically at `date`" > $PKGCHK_CONF
-       ${PKG_INFO} -qBa | awk '/^PKGPATH/ { sub("PKGPATH=[ ]*", ""); print }' >> $PKGCHK_CONF
+       ${PKG_INFO} -qBa | ${AWK} '/^PKGPATH/ { sub("PKGPATH=[ ]*", ""); print }' >> $PKGCHK_CONF
 fi
 
 if [ -n "$opt_c" -o -n "$opt_l" ];then



Home | Main Index | Thread Index | Old Index