Skip to content

Commit

Permalink
remove a fossile in gen_parrot.pl; needs re-testing under windows
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Nov 15, 2010
1 parent 3d9ef18 commit d1ca2e3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions build/gen_parrot.pl
Expand Up @@ -35,16 +35,17 @@ =head2 DESCRIPTION

{
no warnings;
if (-e "parrot_install${slash}bin${slash}parrot_config revision" &&
open my $REV, '-|', "parrot_install${slash}bin${slash}parrot_config revision") {
my $revision = <$REV>;
close $REV;
$revision =~ s/\s.*//s;
if (compare_parrot_revs($revision, $req) >= 0) {
print "Parrot $revision already available ($req required)\n";
exit(0);
eval {
if (open my $REV, '-|', "parrot_install${slash}bin${slash}parrot_config git_describe") {
my $revision = <$REV>;
close $REV;
$revision =~ s/\s.*//s;
if (compare_parrot_revs($revision, $req) >= 0) {
print "Parrot $revision already available ($req required)\n";
exit(0);
}
}
}
};
}

print "Checking out Parrot $req via git...\n";
Expand Down

0 comments on commit d1ca2e3

Please sign in to comment.