Changeset 32791 for main


Ignore:
Timestamp:
02/20/19 22:21:55 (2 years ago)
Author:
Georgiy Litvinov
Message:

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

File:
1 edited

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