Changeset 32341

Show
Ignore:
Timestamp:
15.08.2018 20:35:21 (9 months ago)
Author:
ak19
Message:

1. Fixing up regex syntax in DirectoryPlugin? for perl 5.26 that comes with Ubuntu 18.04, see Kathy's commit message at http://trac.greenstone.org/changeset/32129 2. AutoLoadConverters? info message commented out as it ends up breaking XML output and then GLI can't parse this and won't load.

Location:
main/trunk/greenstone2/perllib/plugins
Files:
2 modified

Legend:

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

    r32186 r32341  
    66 
    77use PrintInfo; 
     8use util; 
    89 
    910use gsprintf 'gsprintf'; 
     
    4344    # found the converter 
    4445    $settings->{'conversion_installed'} = 1; 
    45     print STDERR "AutoLoadConverters: $autoName Extension to Greenstone detected for $calling_class\n"; 
     46#   print STDERR "AutoLoadConverters: $autoName Extension to Greenstone detected for $calling_class\n"; 
    4647    # but can it run??? 
    4748    if (eval "\$${autoPackage}::${autoVar}_conversion_available") { 
  • main/trunk/greenstone2/perllib/plugins/DirectoryPlugin.pm

    r32131 r32341  
    197197     
    198198    # check to see we haven't got a cyclic path... 
    199     if ($dirname =~ m%(/.*){41}%) { 
     199    if ($dirname =~ m%(/.*)\{41}%) { 
    200200    print $outhandle "DirectoryPlugin: $dirname is 40 directories deep, is this a recursive path? if not increase constant in DirectoryPlugin.pm.\n"; 
    201201    return 0;