Show
Ignore:
Timestamp:
19.12.2015 01:32:46 (4 years ago)
Author:
litvinovg
Message:

Fix for -associate_tail_re option. Files with extensions that could be processed by plugins were excluded from tying. Added check excludes files whose file_ext have symbols before the dot from processing as master files. So they could be associated to the main file below.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/BasePlugin.pm

    r28375 r30358  
    490490        my $file_prefix_rec = $shared_fileroot->{$file_prefix}; 
    491491 
    492         if ($self->can_process_this_file($filename_full_path)) { 
     492        if ($self->can_process_this_file($filename_full_path) && $file_ext !~ m/.\./) { 
    493493        # This is the document the others should be tied to 
    494494        $file_prefix_rec->{'tie_to'} = $file_ext;