pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/scripts Be less verbose.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/611a00a01b63
branches:  trunk
changeset: 349414:611a00a01b63
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jul 07 12:01:22 2016 +0000

description:
Be less verbose.

diffstat:

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

diffs (21 lines):

diff -r 4f94c8f3ae24 -r 611a00a01b63 mk/scripts/genreadme.awk
--- a/mk/scripts/genreadme.awk  Thu Jul 07 11:29:34 2016 +0000
+++ b/mk/scripts/genreadme.awk  Thu Jul 07 12:01:22 2016 +0000
@@ -1,5 +1,5 @@
 #!/usr/bin/awk -f
-# $NetBSD: genreadme.awk,v 1.36 2015/10/03 13:17:57 bsiegert Exp $
+# $NetBSD: genreadme.awk,v 1.37 2016/07/07 12:01:22 wiz Exp $
 #
 # Copyright (c) 2002, 2003, 2005, 2006, 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -468,7 +468,9 @@
                        gsub(/^[ \t]*SUBDIR.*=[ \t]*/, "", category);
                        catdir = PKGSRCDIR"/"category;
                        readmenew = catdir"/"readme_name;
-                       printf("Category = %s\n", category);
+                       if (quiet != "yes") {
+                               printf("Category = %s\n", category);
+                       }
                        cat_make = catdir"/Makefile";
                        pkgs = "";
                        pkgs_file = TMPDIR "/pkgs_file";



Home | Main Index | Thread Index | Old Index