- Timestamp:
- 1999-12-07T10:50:39+13:00 (24 years ago)
- Location:
- trunk/gsdl/bin/script
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/buildcol.pl
r784 r814 66 66 'cachedir/.*/', \$cachedir, 67 67 'builddir/.*/', \$builddir, 68 'maxdocs/ \d+/', \$maxdocs,68 'maxdocs/^\-?\d+/-1', \$maxdocs, 69 69 'debug', \$debug, 70 70 'mode/^(all|compress_text|build_index|infodb)$/all', \$mode, … … 95 95 if (defined $collectcfg->{'builddir'} && $builddir eq "") { 96 96 $builddir = $collectcfg->{'builddir'}; 97 }98 if (defined $collectcfg->{'textindex'}) {99 $textindex = $collectcfg->{'textindex'};100 97 } 101 98 } else { -
trunk/gsdl/bin/script/import.pl
r783 r814 73 73 'gzip', \$gzip, 74 74 'debug', \$debug, 75 'maxdocs/ \d+/', \$maxdocs)) {75 'maxdocs/^\-?\d+/-1', \$maxdocs)) { 76 76 &print_usage(); 77 77 die "\n"; … … 88 88 89 89 # get the list of plugins for this collection 90 @plugins = ();90 my $plugins = []; 91 91 $configfilename = &util::filename_cat ($ENV{'GSDLCOLLECTDIR'}, "etc/collect.cfg"); 92 92 if (-e $configfilename) { 93 93 $collectcfg = &colcfg::read_collect_cfg ($configfilename); 94 if (defined $collectcfg->{'plugin s'}) {95 @plugins = @{$collectcfg->{'plugins'}};94 if (defined $collectcfg->{'plugin'}) { 95 $plugins = $collectcfg->{'plugin'}; 96 96 } 97 97 if (defined $collectcfg->{'importdir'} && $importdir eq "") { … … 123 123 124 124 # load all the plugins 125 $pluginfo = &plugin::load_plugins ($ collection, \@plugins);125 $pluginfo = &plugin::load_plugins ($plugins); 126 126 if (scalar(@$pluginfo) == 0) { 127 127 print STDERR "No plugins were loaded.\n";
Note:
See TracChangeset
for help on using the changeset viewer.