Skip to content

Commit

Permalink
[languages] skip update when missing directory
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Nov 24, 2012
1 parent 230342a commit 2e66846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dev/fetch_languages.pl
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ =head1 HISTORY
print "Running: '@cmd' in $dir.\n";
system(@cmd);
}
if ($update_flag) {
if ($update_flag && -d $_->{name}) {
chdir $_->{name};
my @cmd = ( @{ $update_cmd{ $_->{scm} } } );
my $dir = getcwd();
Expand Down

0 comments on commit 2e66846

Please sign in to comment.