]> git.donarmstrong.com Git - debbugs.git/blobdiff - scripts/rebuild.in
[project @ 2003-08-23 15:12:57 by cjwatson]
[debbugs.git] / scripts / rebuild.in
index 5d6ed7f1e448ef68d0d6f3cb9f523b8f69e5d068..6c98f2545dba5f87bc325b2df921ba4a5d6b6f2e 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# $Id: rebuild.in,v 1.12 2003/08/22 01:41:54 cjwatson Exp $
+# $Id: rebuild.in,v 1.13 2003/08/23 15:12:57 cjwatson Exp $
 
 # Load modules and set environment
 use File::Copy;
@@ -29,9 +29,9 @@ for ($subdir=0; $subdir<100; $subdir++ )
 {
     my $path = sprintf( "$archive/%.2d", $subdir );
     opendir(DIR,$path) || next; 
-    my @list= grep(m/^\d+\.db$/,readdir(DIR));
+    my @list= grep(m/^\d+\.summary$/,readdir(DIR));
     closedir DIR;
-    grep(s/\.db$//,@list);
+    grep(s/\.summary$//,@list);
     push @files, @list;
 }