Changeset 24070

Show
Ignore:
Timestamp:
20.05.2011 13:52:55 (8 years ago)
Author:
ak19
Message:

Fixed build error message about uninitialised variables, which was due to my having used uppercase characters in strings in instances where the config file parser is set to expect the same strings in all lower-case.

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

Legend:

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

    r23946 r24070  
    581581    print $outhandle "Setting value to 0.\n"; 
    582582    } 
    583     $build_cfg->{'earliestDatestamp'} = $earliestDatestamp; 
     583    $build_cfg->{'earliestdatestamp'} = $earliestDatestamp; 
    584584     
    585585    $self->build_cfg_extra($build_cfg); 
  • main/trunk/greenstone2/perllib/buildConfigxml.pm

    r23939 r24070  
    226226    &write_line('COLCFG', ["<metadata name=\"infodbType\">", $buildcfg->{"infodbtype"}, "</metadata>"]); 
    227227    } 
    228     if (defined $buildcfg->{'earliestDatestamp'}) { 
    229     &write_line('COLCFG', ["<metadata name=\"earliestDatestamp\">", $buildcfg->{"earliestDatestamp"}, "</metadata>"]); 
     228    if (defined $buildcfg->{'earliestdatestamp'}) { 
     229    &write_line('COLCFG', ["<metadata name=\"earliestdatestamp\">", $buildcfg->{"earliestdatestamp"}, "</metadata>"]); 
    230230    } 
    231231