Skip to content

Commit

Permalink
Avoid problems with newlines in build/PARROT_REVISION on windows (RT …
Browse files Browse the repository at this point in the history
…#64816)
  • Loading branch information
pmichaud committed Apr 18, 2009
1 parent f2c5829 commit afd8ff1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/gen_parrot.pl
Expand Up @@ -33,9 +33,8 @@ =head2 DESCRIPTION
{
no warnings;
if (open my $REV, '-|', "parrot${slash}parrot_config revision") {
my $revision = <$REV>;
my $revision = 0+<$REV>;
close $REV;
chomp $revision;
if ($revision >= $required) {
print "Parrot r$revision already available (r$required required)\n";
exit(0);
Expand Down

0 comments on commit afd8ff1

Please sign in to comment.