Subject: | make_arg used twice |
In CPAN::Distribution, the configure value of make_arg is added twice to
the commandline: (lines 1960-)
} else {
$system = join " ", $self->_make_command(),
$CPAN::Config->{make_arg};
# now, make_arg is already added
}
$system =~ s/\s+$//;
my $make_arg = $self->_make_phase_arg("make");
$system = sprintf("%s%s",
$system,
$make_arg ? " $make_arg" : "",
);
# and here it is added again, because _make_phase_arg() procuces it
The verbose output of the installation shows:
/usr/bin/make >> /home/lr/install-logs/20090721-1040.make >>
/home/lr/install-logs/20090721-1040.make -- OK