Skip to content

Commit

Permalink
workaround for cpanm quirks
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaba committed Aug 25, 2023
1 parent e1c219c commit 0dfce26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/pmbp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2355,7 +2355,7 @@ ($$)
($args->{skip_satisfied} ? '--skip-satisfied' : ()),
qw(--notest --cascade-search),
($args->{scandeps} ? ('--scandeps', '--format=json', '--force') : ()));
push @option, '--dev'; # if $args->{dev};
push @option, '--dev' if $args->{dev};
push @option, '--force' if $args->{force};
push @option, '--info' if $args->{info};
push @option, '--verbose' if $Verbose > 1 and
Expand Down Expand Up @@ -2412,7 +2412,8 @@ ($$)
}

## Let cpanm not use Web API, as it slows down operations.
push @option, '--mirror-only';
## This option forces |--dev| ignored.
push @option, '--mirror-only' unless $args->{dev};

## Don't rely on LWP
push @option, '--no-lwp';
Expand Down

0 comments on commit 0dfce26

Please sign in to comment.