Skip to content

Commit 32b35bf

Browse files
committed
Fix to cope with Perl 5 on Windows install path.
Still have to build this quite manually on Windows for perl6-bench, but this does at least mean once you've done that it'll be invoked correctly.
1 parent 9ebd6cd commit 32b35bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compilers.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
language => 'Perl 5',
77
compiler => 'perl5',
88
vm => 'perl5',
9-
f_run => [qw( install/bin/perl )],
10-
e_run => [qw( install/bin/perl -E )],
11-
show_ver => [qw( install/bin/perl -E say+$] )],
9+
f_run => [$^O =~ /MSWin32/ ? qw( c:/perl/bin/perl ) : qw( install/bin/perl )],
10+
e_run => [$^O =~ /MSWin32/ ? qw( c:/perl/bin/perl -E ) : qw( install/bin/perl -E )],
11+
show_ver => [$^O =~ /MSWin32/ ? qw( c:/perl/bin/perl -E say+$] ) : qw( install/bin/perl -E say+$] )],
1212
},
1313
{
1414
name => 'p5.pl',

0 commit comments

Comments
 (0)