summaryrefslogtreecommitdiff
path: root/installman
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2013-01-26 17:01:25 +0000
committerAaron Crane <arc@cpan.org>2013-01-27 10:50:05 +0000
commit0f8767845c2e9b6c1a4363147835e5b95b61151d (patch)
tree1523b307e08b12fb3ca28633476f59014eeb4a2f /installman
parent1e6a1397a3d657e7e9828e9fe7f5d9ef2cc2be09 (diff)
downloadperl-0f8767845c2e9b6c1a4363147835e5b95b61151d.tar.gz
Fix installman ignoring --silent
Diffstat (limited to 'installman')
-rwxr-xr-xinstallman4
1 files changed, 2 insertions, 2 deletions
diff --git a/installman b/installman
index 5f0a7a6f4f..cd8b0947ff 100755
--- a/installman
+++ b/installman
@@ -139,7 +139,7 @@ sub pod2man {
unless ($has_pod)
{
- warn "no documentation in $mod\n";
+ warn "no documentation in $mod\n" unless $opts{silent};
next;
}
@@ -155,7 +155,7 @@ sub pod2man {
);
my $xmanpage = $manpage;
$xmanpage =~ s/^\Q$opts{'destdir'}\E// if $opts{'destdir'};
- print " $xmanpage\n";
+ print " $xmanpage\n" unless $opts{silent};
if (!$opts{notify} && $parser->parse_from_file($mod, $tmp)) {
if (-s $tmp) {
if (rename($tmp, $manpage)) {