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 bd1302f9aec9d87a0f68b0f291b5ef69561377bc..a68d1e66a07c40a39ee697808f1ccdff6a91881b 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);