Changeset 32791 for main

Show
Ignore:
Timestamp:
20.02.2019 22:21:55 (10 months ago)
Author:
litvinovg
Message:

Added check for empty lib_name variable to fix incremental-rebuild with gs3

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/util.pm

    r32432 r32791  
    14101410        # url can be undef if tomcat.port could not be determined due to 
    14111411        # user having wrong or conflicting server related vals in build.props 
    1412            if (defined $url && defined $lib_name) { 
     1412           if (defined $url && defined $lib_name && $lib_name ne "") { 
    14131413            # replace the servlet_name portion of the url found, with the given library_name 
    14141414            $url =~ s@/[^/]*$@/$lib_name@;