Fix typo in new Build.PL
This commit is contained in:
parent
0bd3d958e2
commit
6e63e938a0
2
Build.PL
2
Build.PL
@ -35,7 +35,7 @@ if (defined $ENV{CPANM} && -x $ENV{CPANM}) {
|
||||
$cpanm = $ENV{CPANM};
|
||||
} elsif (-x (my $c = File::Spec->catfile($Config{installscript}, 'cpanm'))) {
|
||||
$cpanm = $c;
|
||||
} elsif ($^O = /^(?:darwin|linux)$/ && system(qw(which cpanm)) == 0) {
|
||||
} elsif ($^O =~ /^(?:darwin|linux)$/ && system(qw(which cpanm)) == 0) {
|
||||
$cpanm = 'cpanm';
|
||||
}
|
||||
die <<'EOF'
|
||||
|
Loading…
Reference in New Issue
Block a user