Ignore:
Timestamp:
2009-07-29T13:22:28+12:00 (15 years ago)
Author:
kjdon
Message:

use colcfg read_collection/building_cfg methods instead of switching on gs_mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/buildcol.pl

    r18590 r20098  
    360360    my ($collectcfg, $buildtype);
    361361    ($configfilename, $gs_mode) = &colcfg::get_collect_cfg_name($out);
    362     if ($gs_mode eq "gs2") {
    363         $collectcfg = &colcfg::read_collect_cfg ($configfilename);
    364     } elsif ($gs_mode eq "gs3") {
    365     $collectcfg = &colcfg::read_collection_cfg_xml ($configfilename);
    366     }
     362    $collectcfg = &colcfg::read_collection_cfg ($configfilename, $gs_mode);
    367363
    368364    if ($verbosity !~ /\d+/) {
Note: See TracChangeset for help on using the changeset viewer.