/[smeserver]/builds_bin/update_repos
ViewVC logotype

Diff of /builds_bin/update_repos

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.6 by slords, Fri May 4 16:12:51 2007 UTC Revision 1.8 by slords, Sat May 12 16:43:49 2007 UTC
# Line 193  foreach my $repo ( sort keys %srcrepohas Line 193  foreach my $repo ( sort keys %srcrepohas
193                          push @sources, $src if ($src =~ s/\.el\d\.at\./\.at\./);                          push @sources, $src if ($src =~ s/\.el\d\.at\./\.at\./);
194                          push @sources, $src if ($src =~ s/\.fc\d\.at\./\.at\./);                          push @sources, $src if ($src =~ s/\.fc\d\.at\./\.at\./);
195                          push @sources, $src if ($src =~ s/\.rf\./\.dag\./);                          push @sources, $src if ($src =~ s/\.rf\./\.dag\./);
196                            push @sources, $src if ($src =~ s/\.0\.el\d+\./\.at\./);
197                            push @sources, $src if ($src =~ s/\.el\d+\./\.at\./);
198    
199    
200                          my $found = 0;                          my $found = 0;
201                          foreach my $source ( @sources ) {                          foreach my $source ( @sources ) {
# Line 240  print "\n"; Line 243  print "\n";
243  foreach my $repo ( sort keys %changed ) {  foreach my $repo ( sort keys %changed ) {
244          next if $repo =~ m{^$stagedir};          next if $repo =~ m{^$stagedir};
245    
246          print "rebuilding $repo/$arch...\n";          my $dir=`readlink -f $repo/$arch`;
247          system(qw(createrepo), "$repo/$arch");          chomp $dir;
248          system(qw(repoview), "$repo/$arch");          print "rebuilding $dir...\n";
249            system(qw(createrepo), "$dir");
250            system(qw(repoview), "$dir");
251  }  }
252    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed