pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/scripts pass down FIND to genreadme.awk and binpkg-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2a47f171487
branches:  trunk
changeset: 494256:e2a47f171487
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Sun May 22 01:37:31 2005 +0000

description:
pass down FIND to genreadme.awk and binpkg-cache

diffstat:

 mk/scripts/genreadme.awk |  6 +++---
 mk/scripts/mkreadme      |  7 ++++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (57 lines):

diff -r 6a718c8bca4d -r e2a47f171487 mk/scripts/genreadme.awk
--- a/mk/scripts/genreadme.awk  Sun May 22 01:36:49 2005 +0000
+++ b/mk/scripts/genreadme.awk  Sun May 22 01:37:31 2005 +0000
@@ -1,5 +1,5 @@
 #!/usr/bin/awk -f
-# $NetBSD: genreadme.awk,v 1.18 2005/05/20 21:48:45 dmcmahill Exp $
+# $NetBSD: genreadme.awk,v 1.19 2005/05/22 01:37:31 dmcmahill Exp $
 #
 # Copyright (c) 2002, 2003, 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -201,8 +201,8 @@
        if ( builddependsfile == "" ) builddependsfile = "/dev/stdout";
 
        printf("Making sure binary package cache file is up to date...\n");
-       cmd = sprintf("%s AWK=%s CMP=%s GREP=%s PKG_INFO=\"%s\" PKG_SUFX=%s SED=%s SORT=%s %s/mk/scripts/binpkg-cache --packages %s",
-               SETENV, AWK, CMP, GREP, PKG_INFO, PKG_SUFX, SED, SORT, PKGSRCDIR, PACKAGES);
+       cmd = sprintf("%s AWK=%s CMP=%s FIND=%s GREP=%s PKG_INFO=\"%s\" PKG_SUFX=%s SED=%s SORT=%s %s/mk/scripts/binpkg-cache --packages %s",
+               SETENV, AWK, CMP, FIND, GREP, PKG_INFO, PKG_SUFX, SED, SORT, PKGSRCDIR, PACKAGES);
        if (debug) printf("\nExecute:  %s\n",cmd);
        rc = system(cmd);
 
diff -r 6a718c8bca4d -r e2a47f171487 mk/scripts/mkreadme
--- a/mk/scripts/mkreadme       Sun May 22 01:36:49 2005 +0000
+++ b/mk/scripts/mkreadme       Sun May 22 01:37:31 2005 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: mkreadme,v 1.6 2005/05/18 04:51:35 dmcmahill Exp $
+# $NetBSD: mkreadme,v 1.7 2005/05/22 01:37:31 dmcmahill Exp $
 #
 # Script for README.html generation
 #
@@ -247,7 +247,7 @@
 if [ -d ${PKGSRCDIR}/pkgtools/prereq-readme ]; then
     cd ${PKGSRCDIR}/pkgtools/prereq-readme
     eval "`${BMAKE} show-tools`"
-    for v in AWK CMP ECHO EXPR FGREP GREP SED SETENV SORT 
+    for v in AWK CMP ECHO EXPR FGREP FIND GREP SED SETENV SORT 
     do
        eval "echo '---->'  ${v}=\"\${${v}}\""
     done
@@ -261,7 +261,7 @@
 echo " "
 if [ -d ${PKGSRCDIR}/pkgtools/prereq-readme ]; then
     cd ${PKGSRCDIR}/pkgtools/prereq-readme
-    for v in CDROM_PKG_URL_HOST CDROM_PKG_URL_DIR CMP DISTDIR \
+    for v in CDROM_PKG_URL_HOST CDROM_PKG_URL_DIR DISTDIR \
        FTP_PKG_URL_HOST FTP_PKG_URL_DIR PACKAGES PKG_INFO PKG_SUFX 
     do
        val=`${BMAKE} show-var VARNAME=${v}`
@@ -389,6 +389,7 @@
     AWK=$AWK \
     CMP=$CMP \
     DISTDIR=$DISTDIR \
+    FIND=$FIND \
     GREP=$GREP \
     PACKAGES=$PACKAGES \
     PKG_INFO="$PKG_INFO" \



Home | Main Index | Thread Index | Old Index