summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorMatthew Horsfall (alh) <wolfsage@gmail.com>2015-04-19 09:43:21 -0400
committerMatthew Horsfall <wolfsage@gmail.com>2015-06-08 12:59:22 -0400
commit176804e8642f1157c7c52a6bc92259ade24db171 (patch)
tree00bef14cd1c16d1a04b94898859b36dd29bafa58 /Porting
parent120bcf3c851ec91fb9adb04a6383a7c979ae074b (diff)
downloadperl-176804e8642f1157c7c52a6bc92259ade24db171.tar.gz
Don't let PERL_MM_OPT/PERL_MB_OPT interfere with bisecting.
INSTALL_BASE for example would cause modules to be installed in the wrong place during a bisect.
Diffstat (limited to 'Porting')
-rwxr-xr-xPorting/bisect-runner.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index 275f14ca71..69f35dffbb 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -1458,6 +1458,10 @@ if ($options{module} || $options{'with-module'}) {
$ENV{AUTOMATED_TESTING} = 1;
$ENV{PERL_MM_USE_DEFAULT} = 1;
+ # Don't let these interfere with our cpan installs
+ delete $ENV{PERL_MB_OPT};
+ delete $ENV{PERL_MM_OPT};
+
my @cpanshell = (
"$prefix/bin/perl",
"-MCPAN",