Changeset 18441 for gsdl/trunk/perllib/plugins/DirectoryPlugin.pm
- Timestamp:
- 2009-02-01T14:36:22+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/DirectoryPlugin.pm
r17738 r18441 131 131 132 132 my $output_dir = $processor->getoutputdir(); 133 my $archives_inf = &util::filename_cat($output_dir,"archives.inf"); 134 133 ## my $archives_inf = &util::filename_cat($output_dir,"archives.inf"); 134 my $db_ext = &util::is_little_endian() ? ".ldb" : ".bdb"; 135 my $doc_db = "archiveinf-doc$db_ext"; 136 my $archives_inf = &util::filename_cat($output_dir,$doc_db); 137 135 138 if ( -e $archives_inf ) { 136 139 $self->{'inf_timestamp'} = -M $archives_inf; … … 278 281 return $directory_ok unless (defined $directory_ok && $directory_ok == 1); 279 282 283 $block_hash->{'all_files'} = {} unless defined $block_hash->{'all_files'}; 284 280 285 $block_hash->{'file_blocks'} = {} unless defined $block_hash->{'file_blocks'}; 281 286 $block_hash->{'shared_fileroot'} = {} unless defined $block_hash->{'shared_fileroot'}; … … 576 581 if ($filename_timestamp > $inf_timestamp) { 577 582 # filename has been around for longer than inf 578 ##### print $outhandle "**** Skipping $subfile\n";583 print $outhandle "**** Skipping $subfile\n" if ($verbosity >3); 579 584 next; 580 585 }
Note:
See TracChangeset
for help on using the changeset viewer.