Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Unset PERL_MB_OPT env. var in case it sets --destdir.

In such a case the install.t will fail erronously.
  • Loading branch information...
commit ea6d110a4bb2e0e33bc4ab527549b778e963ac5b 1 parent adf315c
Justin Davis authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  t/install.t
3  t/install.t
@@ -16,6 +16,9 @@ my $dir = tempdir('test_local_lib-XXXXX', DIR => Cwd::abs_path('t'), CLEANUP =>
16 16 use local::lib ();
17 17 local::lib->import($dir);
18 18
  19 +# Unset PERL_MB_OPT in case it uses --destdir
  20 +local $ENV{ 'PERL_MB_OPT' };
  21 +
19 22 my $orig_dir = cwd;
20 23 SKIP: for my $dist_type (qw(EUMM MB)) {
21 24 chdir File::Spec->catdir($orig_dir, qw(t dist), $dist_type);

0 comments on commit ea6d110

Please sign in to comment.
Something went wrong with that request. Please try again.