Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@juster authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  t/install.t
View
3  t/install.t
@@ -16,6 +16,9 @@ my $dir = tempdir('test_local_lib-XXXXX', DIR => Cwd::abs_path('t'), CLEANUP =>
use local::lib ();
local::lib->import($dir);
+# Unset PERL_MB_OPT in case it uses --destdir
+local $ENV{ 'PERL_MB_OPT' };
+
my $orig_dir = cwd;
SKIP: for my $dist_type (qw(EUMM MB)) {
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.