summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ExtUtils/Embed.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ExtUtils/Embed.t b/lib/ExtUtils/Embed.t
index 3c996b7dad..8f4380aa6d 100644
--- a/lib/ExtUtils/Embed.t
+++ b/lib/ExtUtils/Embed.t
@@ -80,7 +80,9 @@ if ($^O eq 'VMS') {
}
}
my $status;
-print "# @cmd\n"; # where is the newline coming from? ldopts()?
+my $display_cmd = "@cmd";
+chomp($display_cmd); # where is the newline coming from? ldopts()?
+print "# $display_cmd\n";
$status = system(join(' ',@cmd));
if ($^O eq 'VMS' && !$status) {
print "# @cmd2\n";