Skip to content

Commit

Permalink
don't die in absence of revision file
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Oct 18, 2010
1 parent bdbef9e commit edbd64a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-scripts/rebuild-rakudo.pl
Expand Up @@ -22,7 +22,7 @@
system('git', 'pull');

my $revision_file = "$home$other/rakudo-revision";
for ($revision_file) {
eval {
open my $fh, '<', $revision_file or break;
my $r = <$fh>;
close $fh;
Expand All @@ -34,7 +34,7 @@
say "Don't need to rebuild, we are on the newest revision anyway";
exit;
}
}
};

my $revision = `cat build/PARROT_REVISION`;
if ($revision =~ m/^(\d+)/) {
Expand Down

0 comments on commit edbd64a

Please sign in to comment.