Let cpanm automatically discover the need for --sudo or --local-lib in order to allow non-root installs.
This commit is contained in:
parent
ecf4099611
commit
a1a39d3a2e
1 changed files with 1 additions and 1 deletions
2
Build.PL
2
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") {
|
||||
|
|
Loading…
Reference in a new issue