Skip to content

Commit 4a3de07

Browse files
committed
actually fix perl6 invocation
... on my machine, at least. Tested with perl6-p and perl6-j
1 parent 61a7f63 commit 4a3de07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/Test/Util.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ sub get_out( Str $code, Str $input?, :@args, :@compiler-args) is export {
9393

9494
my $perl6 = $*EXECUTABLE_NAME;
9595
my $cmd = $perl6 ~~ m:i/niecza/ ?? "mono $perl6 " !! "$perl6 ";
96-
$perl6 ~~ s{^perl6}{./perl6};
96+
$perl6 ~~ s{^perl6} = './perl6';
9797
$cmd = $perl6 ~ ' ';
9898
$cmd ~= @compiler-args.join(' ') ~ ' ' if @compiler-args;
9999
$cmd ~= $fnbase ~ '.code' if $code.defined;
100100
$cmd ~= " @actual_args.join(' ') < $fnbase.in > $fnbase.out 2> $fnbase.err";
101-
# diag("Command line: $cmd");
101+
# diag("Command line: $cmd");
102102
%out<status> = shell( $cmd );
103103
%out<out> = slurp "$fnbase.out";
104104
%out<err> = slurp "$fnbase.err";

0 commit comments

Comments
 (0)