fix bug in 7bfb367 that causes "@all.git" to be created!

This commit is contained in:
Sitaram Chamarty 2010-04-13 10:07:59 +05:30
parent 813a2a9908
commit 9b35f84f55

View file

@ -389,6 +389,7 @@ wrap_chdir("$repo_base_abs");
for my $repo (sort keys %repos) { for my $repo (sort keys %repos) {
next unless $repo =~ $REPONAME_PATT; next unless $repo =~ $REPONAME_PATT;
next if $repo =~ m(^EXTCMD/); # these are not real repos next if $repo =~ m(^EXTCMD/); # these are not real repos
next if $repo eq '@all';
unless (-d "$repo.git") { unless (-d "$repo.git") {
print STDERR "creating $repo...\n"; print STDERR "creating $repo...\n";
new_repo($repo, "$GL_ADMINDIR/hooks/common"); new_repo($repo, "$GL_ADMINDIR/hooks/common");