Changeset 32564

Show
Ignore:
Timestamp:
02.11.2018 19:56:25 (2 weeks 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.

Files:
1 modified

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'})