Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Commit 1401ec6

Browse files
committed
Apply gen_parrot.pl fix as also found in Rakudo's gen_parrot.pl to avoid a Win32 issue.
1 parent ff8c915 commit 1401ec6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/gen_parrot.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ =head2 DESCRIPTION
3535

3636
{
3737
no warnings;
38-
if (open my $REV, '-|', "parrot_install${slash}bin${slash}parrot_config git_describe") {
38+
my $parrot_bin_folder = "parrot_install${slash}bin";
39+
if (-e $parrot_bin_folder && open my $REV, '-|', "$parrot_bin_folder${slash}parrot_config git_describe") {
3940
my $revision = <$REV>;
4041
close $REV;
4142
$revision =~ s/\s.*//s;

0 commit comments

Comments
 (0)