pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/scripts



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jul  7 11:29:34 UTC 2016

Modified Files:
        pkgsrc/mk/scripts: mkreadme

Log Message:
Be less verbose.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/mk/scripts/mkreadme

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/scripts/mkreadme
diff -u pkgsrc/mk/scripts/mkreadme:1.28 pkgsrc/mk/scripts/mkreadme:1.29
--- pkgsrc/mk/scripts/mkreadme:1.28     Sat Oct  3 13:17:57 2015
+++ pkgsrc/mk/scripts/mkreadme  Thu Jul  7 11:29:34 2016
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: mkreadme,v 1.28 2015/10/03 13:17:57 bsiegert Exp $
+# $NetBSD: mkreadme,v 1.29 2016/07/07 11:29:34 wiz Exp $
 #
 # Script for README.html generation
 #
@@ -270,10 +270,12 @@ echo " "
 if [ -d ${PKGSRCDIR}/pkgtools/prereq-readme ]; then
     cd ${PKGSRCDIR}/pkgtools/prereq-readme
     eval "`${BMAKE} show-tools`"
-    for v in AWK CMP ECHO EXPR FGREP FIND GREP GZIP_CMD SED SETENV SORT
-    do
-       eval "echo '---->'  ${v}=\"\${${v}}\""
-    done
+    if [ "x$quiet" != "xno" ]; then
+       for v in AWK CMP ECHO EXPR FGREP FIND GREP GZIP_CMD SED SETENV SORT
+       do
+           eval "echo '---->'  ${v}=\"\${${v}}\""
+       done
+    fi
 else
     echo "Error:   ${PKGSRCDIR}/pkgtools/prereq-readme does not seem to exist"
     exit 1
@@ -294,7 +296,9 @@ if [ -d ${PKGSRCDIR}/pkgtools/prereq-rea
            echo "Failed.  This is a fatal error"
            clean_and_exit
        fi
-       echo "---->  ${v}=\"${val}\""
+       if [ "x$quiet" != "xno" ]; then
+           echo "---->  ${v}=\"${val}\""
+       fi
        eval "${v}=\"${val}\""
     done
 else



Home | Main Index | Thread Index | Old Index