Fix typo in new Build.PL

internal-support
Alessandro Ranellucci 2013-06-22 22:57:36 +02:00
parent 0bd3d958e2
commit 6e63e938a0
1 changed files with 1 additions and 1 deletions

View File

@ -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'