summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/installman
diff options
context:
space:
mode:
authorafresh1 <afresh1@cvs.openbsd.org>2014-03-24 15:05:35 +0000
committerafresh1 <afresh1@cvs.openbsd.org>2014-03-24 15:05:35 +0000
commitb9f660bad5b31e3de245344f3e25af94ac870239 (patch)
treea26c47ccc8749519849d326077bd7fed75162fe6 /gnu/usr.bin/perl/installman
parentc080cf55b5ad88c4056e6e9a4f858e0dfbf642b1 (diff)
Merge perl-5.18.2 plus local patches, remove old files
OK espie@ sthen@ deraadt@
Diffstat (limited to 'gnu/usr.bin/perl/installman')
-rw-r--r--gnu/usr.bin/perl/installman4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/installman b/gnu/usr.bin/perl/installman
index 5f0a7a6f4f7..cd8b0947ff0 100644
--- a/gnu/usr.bin/perl/installman
+++ b/gnu/usr.bin/perl/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)) {