Changeset 10538
- Timestamp:
- 2005-08-19T12:15:51+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/docsave.pm
r10431 r10538 493 493 &util::hard_link ($source_filename, $filename); 494 494 } 495 495 496 # set the assocfile path (even if we have no assoc files - need this for lucene) 497 $doc_obj->set_utf8_metadata_element ($doc_obj->get_top_section(), 498 "assocfilepath", 499 "$doc_dir"); 496 500 foreach my $assoc_file_rec (@{$doc_obj->get_assoc_files()}) { 497 501 my ($dir, $afile) = $assoc_file_rec->[1] =~ /^(.*?)([^\/\\]+)$/; … … 529 533 "gsdlassocfile", 530 534 "$afile:$assoc_file_rec->[2]:$dir"); 531 $doc_obj->set_utf8_metadata_element ($doc_obj->get_top_section(),532 "assocfilepath",533 "$doc_dir");534 535 } elsif ($self->{'verbosity'} > 2) { 535 536 print $outhandle "docsave::process couldn't copy the associated file " .
Note:
See TracChangeset
for help on using the changeset viewer.