Changeset 19747
- Timestamp:
- 2009-06-05T17:14:11+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/explode_metadata_database.pl
r19742 r19747 405 405 # Does this metadata element specify a document to obtain? 406 406 if ($field eq $document_field) { 407 # if the document prefix provided didn't have the requisite slash at the end, we make sure it does now 408 # by first of all stripping any trailing slash and then always ensuring one is used through filename_cat 409 $document_prefix =~ s/(\/|\\)$//; 410 my $document_file_full = &util::filename_cat($document_prefix, "$value$document_suffix"); 407 # shouldn't force a slash at the end after all, since the doc prefix may already 408 # contain the prefix of the actual filename itself (that's shared over several docs) 409 my $document_file_full = $document_prefix . $value . $document_suffix; 411 410 412 411 # this either downloads/copies the document, or creates a nul file for it.
Note:
See TracChangeset
for help on using the changeset viewer.