--- builds_bin/update_repos 2007/05/04 16:12:51 1.6 +++ builds_bin/update_repos 2007/05/12 16:43:49 1.8 @@ -193,6 +193,9 @@ foreach my $repo ( sort keys %srcrepohas push @sources, $src if ($src =~ s/\.el\d\.at\./\.at\./); push @sources, $src if ($src =~ s/\.fc\d\.at\./\.at\./); push @sources, $src if ($src =~ s/\.rf\./\.dag\./); + push @sources, $src if ($src =~ s/\.0\.el\d+\./\.at\./); + push @sources, $src if ($src =~ s/\.el\d+\./\.at\./); + my $found = 0; foreach my $source ( @sources ) { @@ -240,8 +243,10 @@ print "\n"; foreach my $repo ( sort keys %changed ) { next if $repo =~ m{^$stagedir}; - print "rebuilding $repo/$arch...\n"; - system(qw(createrepo), "$repo/$arch"); - system(qw(repoview), "$repo/$arch"); + my $dir=`readlink -f $repo/$arch`; + chomp $dir; + print "rebuilding $dir...\n"; + system(qw(createrepo), "$dir"); + system(qw(repoview), "$dir"); }