Skip to content

Commit

Permalink
builder: don't install cpanm with local::lib
Browse files Browse the repository at this point in the history
Don't pass -I to cpan when installing App::cpanminus, because that may
ignore our env vars and put things into ~/perl5 .
  • Loading branch information
rkitover committed Sep 8, 2018
1 parent 88f66ef commit 5b5e319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/builder/core.sh
Expand Up @@ -549,7 +549,7 @@ num_cpus() {
setup_perl() {
if command -v perl >/dev/null; then
if ! command -v cpanm >/dev/null; then
perl -MApp::Cpan -e 'App::Cpan->run' -- -I -f -i App::cpanminus
perl -MApp::Cpan -e 'App::Cpan->run' -- -f -i App::cpanminus
fi
fi
}
Expand Down

0 comments on commit 5b5e319

Please sign in to comment.