Changeset 8361 for trunk/gsdl/bin/script/buildcol.pl
- Timestamp:
- 2004-10-18T14:59:51+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/buildcol.pl
r7950 r8361 57 57 58 58 my $arguments = 59 [ { 'name' => " allclassifications",60 'desc' => "{buildcol. allclassifications}",61 'type' => "flag", 62 'reqd' => "no", 63 'modegli' => " 2" },59 [ { 'name' => "remove_empty_classifications", 60 'desc' => "{buildcol.remove_empty_classifications}", 61 'type' => "flag", 62 'reqd' => "no", 63 'modegli' => "3" }, 64 64 { 'name' => "archivedir", 65 65 'desc' => "{buildcol.archivedir}", … … 164 164 { 165 165 my ($verbosity, $archivedir, $cachedir, $builddir, $maxdocs, 166 $debug, $mode, $indexname, $keepold, $ allclassifications,166 $debug, $mode, $indexname, $keepold, $remove_empty_classifications, 167 167 $create_images, $collectdir, $out, $buildtype, $textindex, 168 168 $no_strip_html, $no_text, $faillog, $gli); … … 186 186 'no_text', \$no_text, 187 187 'keepold', \$keepold, 188 ' allclassifications', \$allclassifications,188 'remove_empty_classifications', \$remove_empty_classifications, 189 189 'create_images', \$create_images, 190 190 'collectdir/.*/', \$collectdir, … … 298 298 } 299 299 } 300 if (defined $collectcfg->{' allclassifications'} && $allclassifications == 0) {301 if ($collectcfg->{' allclassifications'} =~ /^true$/i) {302 $ allclassifications = 1;300 if (defined $collectcfg->{'remove_empty_classifications'} && $remove_empty_classifications == 0) { 301 if ($collectcfg->{'remove_empty_classifications'} =~ /^true$/i) { 302 $remove_empty_classifications = 1; 303 303 } 304 304 } … … 397 397 eval("\$builder = new $buildertype(\$collection, " . 398 398 "\$realarchivedir, \$realbuilddir, \$verbosity, " . 399 "\$maxdocs, \$debug, \$keepold, \$ allclassifications, " .399 "\$maxdocs, \$debug, \$keepold, \$remove_empty_classifications, " . 400 400 "\$out, \$no_text, \$faillog, \$gli)"); 401 401 die "$@" if $@;
Note:
See TracChangeset
for help on using the changeset viewer.