Skip to content

Commit

Permalink
Make fudgeandrun look for perl6-m and perl6-j
Browse files Browse the repository at this point in the history
Before swapping to system perl6 when ./perl6 is not found.

Some times the build doesn't create a ./perl6, only ./perl6-m (I think
due to running just `make install` after a compile error). This
commit fixes the fudgeandrun bailing out of testing in those cases.
  • Loading branch information
zoffixznet committed May 24, 2017
1 parent fe84c4a commit 568eb76
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fudgeandrun
Expand Up @@ -56,8 +56,8 @@ USAGE
}

# decide between local and PATH perl
my $p6 = catfile('.', 'perl6');
$p6 = 'perl6' unless -x $p6;
my ($p6) = grep -x, map catfile('.', $_), qw/perl6 perl6-m perl6-j/;
$p6 = 'perl6' unless $p6;

# implementation and compiler
my $impl;
Expand Down Expand Up @@ -166,4 +166,3 @@ Could not run $cmd
error: $err
EO_ERR
}

0 comments on commit 568eb76

Please sign in to comment.