Changeset 21586 for main/trunk
- Timestamp:
- 2010-01-22T16:50:15+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/DirectoryPlugin.pm
r21566 r21586 124 124 my ($pluginfo, $base_dir, $processor, $maxdocs) = @_; 125 125 126 # Only lookup timestamp info for import.pl, and only if incremental is set 126 127 my $proc_package_name = ref $processor; 127 128 128 if ($proc_package_name !~ /buildproc$/ && $self->{'incremental'} == 1) { 129 130 # Only lookup timestamp info for import.pl, and only if incremental is set 131 129 # Get the infodbtype value for this collection from the arcinfo object 130 my $infodbtype = $processor->getoutputinfo()->{'infodbtype'}; 132 131 my $output_dir = $processor->getoutputdir(); 133 132 ## my $archives_inf = &util::filename_cat($output_dir,"archives.inf"); 134 my $archives_inf = &dbutil::get_infodb_file_path( "gdbm", "archiveinf-doc", $output_dir);133 my $archives_inf = &dbutil::get_infodb_file_path($infodbtype, "archiveinf-doc", $output_dir); 135 134 136 135 if ( -e $archives_inf ) {
Note:
See TracChangeset
for help on using the changeset viewer.