Skip to content

Commit

Permalink
Fix local::lib base path resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed May 16, 2011
1 parent 4772aac commit 1888ee1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/App/cpanminus/script.pm
Expand Up @@ -509,7 +509,11 @@ sub setup_local_lib {
$self->_dump_inc(\@inc, \@INC);
$self->{search_inc} = [ @inc ];
} else {
$self->{search_inc} = [ $base, @INC ];
$self->{search_inc} = [
local::lib->install_base_arch_path($base),
local::lib->install_base_perl_path($base),
@INC,
];
}
$self->_setup_local_lib_env($base);
}
Expand Down

0 comments on commit 1888ee1

Please sign in to comment.