From: Steffen Mueller Date: Sun, 18 Apr 2010 14:52:44 +0000 (+0200) Subject: Do not clobber %ENV in EU::MM test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=abe97ede60e530226f7420f5de75584e0c7e0565;p=p5sagit%2Fp5-mst-13.2.git Do not clobber %ENV in EU::MM test 175046355f07701 introduced an error in the ExtUtils::MakeMaker prerequisites tests in that it clobbers %ENV instead of just locally overriding $ENV{PERL_CORE}. --- diff --git a/cpan/ExtUtils-MakeMaker/t/prereq.t b/cpan/ExtUtils-MakeMaker/t/prereq.t index 4a537a5..13e354a 100644 --- a/cpan/ExtUtils-MakeMaker/t/prereq.t +++ b/cpan/ExtUtils-MakeMaker/t/prereq.t @@ -36,7 +36,7 @@ ok( chdir 'Big-Dummy', "chdir'd to Big-Dummy" ) || $warnings .= join '', @_; }; # prerequisite warnings are disbled while building the perl core: - local %ENV; + local %ENV = %ENV; delete $ENV{PERL_CORE}; WriteMakefile(