In perl.git, the branch alh/cpan-bisect has been updated <http://perl5.git.perl.org/perl.git/commitdiff/52d035883b7d734fd2141afb97a909f9358a68a7?hp=c9e13756c0e7404a08e5425128aa2b9c5d32cb93>
- Log ----------------------------------------------------------------- commit 52d035883b7d734fd2141afb97a909f9358a68a7 Author: Matthew Horsfall (alh) <[email protected]> Date: Sun Apr 19 11:07:54 2015 -0400 When bisecting with modules, actually use a fresh build dir every build. ----------------------------------------------------------------------- Summary of changes: Porting/bisect-runner.pl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 69f35df..b1a501f 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -5,6 +5,7 @@ use Getopt::Long qw(:config bundling no_auto_abbrev); use Pod::Usage; use Config; use File::Temp qw(tempdir); +use File::Spec; my @targets = qw(none config.sh config.h miniperl lib/Config.pm Fcntl perl test_prep); @@ -1462,8 +1463,15 @@ if ($options{module} || $options{'with-module'}) { delete $ENV{PERL_MB_OPT}; delete $ENV{PERL_MM_OPT}; + # Make sure we load up our CPAN::MyConfig and then + # override the build_dir so we have a fresh one + # every build + my $cdir = File::Spec->catfile($ENV{HOME},".cpan"); + my @cpanshell = ( "$prefix/bin/perl", + "-I", "$cdir", + "-MCPAN::MyConfig", "-MCPAN", "-e","\$CPAN::Config->{build_dir}=q{$bdir};", "-e", -- Perl5 Master Repository
