Changeset 1917 for trunk/gsdl/perllib/mgppbuilder.pm
- Timestamp:
- 2001-02-07T13:09:29+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/mgppbuilder.pm
r1852 r1917 135 135 } 136 136 137 # make sure that the same index isn't specified more than once 138 my %tmphash = (); 139 my @tmparray = @{$self->{'collect_cfg'}->{'indexes'}}; 140 $self->{'collect_cfg'}->{'indexes'} = []; 141 foreach my $i (@tmparray) { 142 if (!defined ($tmphash{$i})) { 143 push (@{$self->{'collect_cfg'}->{'indexes'}}, $i); 144 $tmphash{$i} = 1; 145 } 146 } 147 148 137 149 # get the levels (Section, Paragraph) for indexing and compression 138 150 $self->{'levels'} = {}; … … 150 162 151 163 # load all the plugins 152 $self->{'pluginfo'} = &plugin::load_plugins ($plugins );164 $self->{'pluginfo'} = &plugin::load_plugins ($plugins, $verbosity, $outhandle); 153 165 if (scalar(@{$self->{'pluginfo'}}) == 0) { 154 166 print $outhandle "No plugins were loaded.\n"; … … 163 175 164 176 # load all the classifiers 165 $self->{'classifiers'} = &classify::load_classifiers ($classifiers, $ outhandle);177 $self->{'classifiers'} = &classify::load_classifiers ($classifiers, $build_dir, $outhandle); 166 178 167 179 # load up any dontgdbm fields
Note:
See TracChangeset
for help on using the changeset viewer.