This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e6a139
)
Fix installman ignoring --silent
author
Dagfinn Ilmari Mannsåker
<ilmari@ilmari.org>
Sat, 26 Jan 2013 17:01:25 +0000
(17:01 +0000)
committer
Aaron Crane
<arc@cpan.org>
Sun, 27 Jan 2013 10:50:05 +0000
(10:50 +0000)
installman
patch
|
blob
|
blame
|
history
diff --git
a/installman
b/installman
index
5f0a7a6
..
cd8b094
100755
(executable)
--- 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)) {