release tooling: unbreak website build when not verbose
authorPhil Pennock <pdp@exim.org>
Fri, 5 Jun 2015 04:44:20 +0000 (00:44 -0400)
committerPhil Pennock <pdp@exim.org>
Fri, 5 Jun 2015 04:44:20 +0000 (00:44 -0400)
release-process/scripts/mk_exim_release.pl

index bd1302f..a68d1e6 100755 (executable)
@@ -149,9 +149,9 @@ sub build_html_documentation {
     my @cmd = (
         $genpath,   '--spec',    $spec,                '--filter',
         $filter,    '--latest',  $context->{trelease}, '--tmpl',
-        $templates, '--docroot', $dir,                 '--localstatic',
-        (($verbose||$debug) ? '--verbose' : '')
+        $templates, '--docroot', $dir,                 '--localstatic'
     );
+    push @cmd, '--verbose' if $verbose or $debug;
 
     print "Executing ", join( ' ', @cmd ), "\n";
     system(@cmd);