Skip to content

Commit

Permalink
ensure that ~/.dzil is never used when testing builds too
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Jul 6, 2014
1 parent 624d073 commit 1b86e03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Dist/Zilla/Tester.pm
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ sub minter { 'Dist::Zilla::Tester::_Minter' }

local @INC = map {; ref($_) ? $_ : File::Spec->rel2abs($_) } @INC;

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

my $zilla = $self->$orig($arg);

$zilla->_set_tempdir($tempdir);
Expand Down

0 comments on commit 1b86e03

Please sign in to comment.