mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fix typo in new Build.PL
This commit is contained in:
2
Build.PL
2
Build.PL
@@ -35,7 +35,7 @@ if (defined $ENV{CPANM} && -x $ENV{CPANM}) {
|
|||||||
$cpanm = $ENV{CPANM};
|
$cpanm = $ENV{CPANM};
|
||||||
} elsif (-x (my $c = File::Spec->catfile($Config{installscript}, 'cpanm'))) {
|
} elsif (-x (my $c = File::Spec->catfile($Config{installscript}, 'cpanm'))) {
|
||||||
$cpanm = $c;
|
$cpanm = $c;
|
||||||
} elsif ($^O = /^(?:darwin|linux)$/ && system(qw(which cpanm)) == 0) {
|
} elsif ($^O =~ /^(?:darwin|linux)$/ && system(qw(which cpanm)) == 0) {
|
||||||
$cpanm = 'cpanm';
|
$cpanm = 'cpanm';
|
||||||
}
|
}
|
||||||
die <<'EOF'
|
die <<'EOF'
|
||||||
|
|||||||
Reference in New Issue
Block a user