Changeset 21785 for main/trunk/greenstone2/perllib/basebuilder.pm
- Timestamp:
- 2010-03-15T12:19:52+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/basebuilder.pm
r21607 r21785 58 58 $maxdocs, $debug, $keepold, $incremental, $incremental_mode, 59 59 $remove_empty_classifications, 60 $outhandle, $no_text, $failhandle, $gli , $disable_OAI) = @_;60 $outhandle, $no_text, $failhandle, $gli) = @_; 61 61 62 62 $outhandle = *STDERR unless defined $outhandle; … … 79 79 'failhandle'=>$failhandle, 80 80 'notbuilt'=>{}, # indexes not built 81 'gli'=>$gli, 82 'disable_OAI'=>$disable_OAI 81 'gli'=>$gli 83 82 }, $class; 84 83 85 84 $self->{'gli'} = 0 unless defined $self->{'gli'}; 86 85 87 # disable_OAI applies to greenstone 3 only and is only passed to &colcfg::write_build_cfg_xml (then buildConfigxml::write_build_cfg_file) when writing the buildConfig.xml88 $self->{'disable_OAI'} = 0 unless defined $self->{'disable_OAI'};89 90 86 # Read in the collection configuration file. 91 87 my ($colcfgname); … … 566 562 if ($gs_mode eq "gs3") { 567 563 568 &colcfg::write_build_cfg_xml(&util::filename_cat($self->{'build_dir'}, "buildConfig.xml"), $build_cfg, $self->{'collect_cfg_preserve'} , $self->{'disable_OAI'});564 &colcfg::write_build_cfg_xml(&util::filename_cat($self->{'build_dir'}, "buildConfig.xml"), $build_cfg, $self->{'collect_cfg_preserve'}); 569 565 } 570 566
Note:
See TracChangeset
for help on using the changeset viewer.