Changeset 30358


Ignore:
Timestamp:
12/19/15 01:32:46 (5 years ago)
Author:
Georgiy Litvinov
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.

File:
1 edited

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;
Note: See TracChangeset for help on using the changeset viewer.