Changeset 32564


Ignore:
Timestamp:
11/02/18 19:56:25 (2 years ago)
Author:
ak19
Message:

The new docsql file format/name (used by GS SQL Plugs) also had repercussions on another part of the BasePlugout code, which I only noticed this when attempting to force auto reindex after change to a doc's metadata.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm

    r32563 r32564  
    630630    # This OID already has an archives directory, so use it again
    631631    $doc_dir = $doc_info->[0];
    632     $doc_dir =~ s/\/?((doc(mets)?)|(dublin_core))\.xml(\.gz)?$//;
     632    $doc_dir =~ s/\/?((doc(mets|sql)?)|(dublin_core))\.xml(\.gz)?$//;
    633633    }
    634634    elsif ($self->{'keep_import_structure'})
Note: See TracChangeset for help on using the changeset viewer.