Ignore:
Timestamp:
2001-02-07T13:09:29+13:00 (23 years ago)
Author:
kjm18
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/mgppbuilder.pm

    r1852 r1917  
    135135    }
    136136
     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
    137149    # get the levels (Section, Paragraph) for indexing and compression
    138150    $self->{'levels'} = {};
     
    150162   
    151163    # load all the plugins
    152     $self->{'pluginfo'} = &plugin::load_plugins ($plugins);
     164    $self->{'pluginfo'} = &plugin::load_plugins ($plugins, $verbosity, $outhandle);
    153165    if (scalar(@{$self->{'pluginfo'}}) == 0) {
    154166    print $outhandle "No plugins were loaded.\n";
     
    163175   
    164176    # load all the classifiers
    165     $self->{'classifiers'} = &classify::load_classifiers ($classifiers, $outhandle);
     177    $self->{'classifiers'} = &classify::load_classifiers ($classifiers, $build_dir, $outhandle);
    166178
    167179    # load up any dontgdbm fields
Note: See TracChangeset for help on using the changeset viewer.