From a1a39d3a2e4ada6f88377cb90cf8aaa6a83344d6 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Sun, 23 Jun 2013 13:19:35 +0200 Subject: [PATCH] Let cpanm automatically discover the need for --sudo or --local-lib in order to allow non-root installs. --- Build.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.PL b/Build.PL index d64762a1e..77c10c5ae 100644 --- a/Build.PL +++ b/Build.PL @@ -69,7 +69,7 @@ EOF my %modules = (%prereqs, %recommends); foreach my $module (sort keys %modules) { my $version = $modules{$module}; - system $cpanm, '--sudo', "$module~$version"; + system $cpanm, "$module~$version"; } if (eval "use App::Prove; 1") {