summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/Makefile.PL4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index 41687757a7..9b117fd0d7 100644
--- a/perl/Makefile.PL
+++ b/perl/Makefile.PL
@@ -20,6 +20,10 @@ if ($@) {
my %extra;
$extra{DESTDIR} = $ENV{DESTDIR} if $ENV{DESTDIR};
+# redirect stdout, otherwise the message "Writing perl.mak for Git"
+# disrupts the output for the target 'instlibdir'
+open STDOUT, ">&STDERR";
+
WriteMakefile(
NAME => 'Git',
VERSION_FROM => 'Git.pm',