Permalink
Browse files

Bugfix: local::lib check was creating ~/perl5. #3635

  • Loading branch information...
1 parent 117fb30 commit 9581ddf641e7194733c334f5e7bd309872801142 @alexrj committed Dec 22, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 Build.PL
View
@@ -109,7 +109,7 @@ EOF
push @cpanm_args, "--sudo" if $sudo;
# install local::lib without --local-lib otherwise it's not usable afterwards
- if (!eval "use local::lib; 1") {
+ if (!eval "use local::lib qw(local-lib); 1") {
my $res = system $cpanm, @cpanm_args, 'local::lib';
warn "Warning: local::lib is required. You might need to run the `cpanm --sudo local::lib` command in order to install it.\n"
if $res != 0;

0 comments on commit 9581ddf

Please sign in to comment.