commit aa433ed361e2909823f691b393cbc4e8ccd16537
parent 20683a56ca80638aae900fc67d5bf72bd7f3486d
Author: Kyle Milz <kyle@getaddrinfo.net>
Date: Thu, 2 Apr 2015 19:48:00 -0600
gen_static: check if verbose
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gen_static b/gen_static
@@ -176,7 +176,7 @@ $vars = {
nret => $v, nmanuf => $m, nprod => $p, nnew => scalar @$news,
news => $news, nupd => scalar @$upds, upds => $upds
};
-print "info: gen index.html\n";
+print "info: gen index.html\n" if ($args{v});
$template->process("index.tt", $vars, "index.html")
|| die "template: " . $template->error() . "\n";