summaryrefslogtreecommitdiff
path: root/installman
diff options
context:
space:
mode:
Diffstat (limited to 'installman')
-rwxr-xr-xinstallman3
1 files changed, 3 insertions, 0 deletions
diff --git a/installman b/installman
index 60fbce3bde..53117ab575 100755
--- a/installman
+++ b/installman
@@ -161,6 +161,9 @@ sub pod2man {
print " $xmanpage\n" unless $opts{silent};
if (!$opts{notify} && $parser->parse_from_file($mod, $tmp)) {
if (-s $tmp) {
+ # We've already emitted a progress message for this file, if
+ # needed, so ensure safe_rename() doesn't emit another one.
+ local $opts{silent} = 1;
if (safe_rename($tmp, $manpage)) {
$packlist->{$xmanpage} = { type => 'file' };
next;