Skip to content

Commit

Permalink
Fix another potential warning on Perl 5.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
plicease authored and rjbs committed Aug 8, 2015
1 parent 2fe62cd commit cd71b3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Dist/Zilla/Tester.pm
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ sub minter { 'Dist::Zilla::Tester::_Minter' }

my $global_config_root = Path::Class::dir($tester_arg->{global_config_root})->absolute;

local $ENV{DZIL_GLOBAL_CONFIG_ROOT} = $global_config_root;
local $ENV{DZIL_GLOBAL_CONFIG_ROOT};
$ENV{DZIL_GLOBAL_CONFIG_ROOT} = $tester_arg->{global_config_root}
if defined $ENV{DZIL_GLOBAL_CONFIG_ROOT};

my $global_stashes = $self->_setup_global_config(
$global_config_root,
Expand Down

0 comments on commit cd71b3e

Please sign in to comment.