Changeset 24070


Ignore:
Timestamp:
05/20/11 13:52:55 (10 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 edited

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