builder: don't install cpanm with local::lib
Don't pass -I to cpan when installing App::cpanminus, because that may ignore our env vars and put things into ~/perl5 .
This commit is contained in:
parent
88f66ef6f8
commit
5b5e319378
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue