From 5b5e319378884b9ab532ccad2c2154e13a7887dd Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Sat, 8 Sep 2018 19:48:29 +0000 Subject: [PATCH] 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 . --- tools/builder/core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/builder/core.sh b/tools/builder/core.sh index 3d713fe1..03b5df16 100644 --- a/tools/builder/core.sh +++ b/tools/builder/core.sh @@ -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 }