Let cpanm automatically discover the need for --sudo or --local-lib in order to allow non-root installs.

This commit is contained in:
Henrik Brix Andersen 2013-06-23 13:19:35 +02:00
parent ecf4099611
commit a1a39d3a2e

View File

@ -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") {