Changeset 7950
- Timestamp:
- 2004-08-16T15:53:43+12:00 (20 years ago)
- Location:
- trunk/gsdl/bin/script
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/buildcol.pl
r7330 r7950 206 206 if ($xml) { 207 207 &PrintUsage::print_xml_usage($options); 208 die "\n"; 208 print "\n"; 209 return; 209 210 } 210 211 … … 324 325 325 326 #set the text index 326 if ( $buildtype eq "mgpp") {327 if (($buildtype eq "mgpp") || ($buildtype eq "lucene")) { 327 328 if ($textindex eq "") { 328 329 $textindex = "text"; … … 381 382 } else { 382 383 $builderdir = "$ENV{'GSDLHOME'}/perllib"; 383 if ($buildtype eq "mgpp") { 384 if ($buildtype eq "lucene") { 385 $buildertype = "lucenebuilder"; 386 } 387 elsif ($buildtype eq "mgpp") { 384 388 $buildertype = "mgppbuilder"; 385 389 } … … 399 403 $builder->init(); 400 404 401 if ( $buildertype eq "mgppbuilder"&& $no_strip_html) {405 if (($buildertype eq "mgppbuilder") && $no_strip_html) { 402 406 $builder->set_strip_html(0); 403 407 } 408 404 409 if ($mode =~ /^all$/i) { 405 410 $builder->compress_text($textindex); -
trunk/gsdl/bin/script/import.pl
r7906 r7950 228 228 if ($xml) { 229 229 &PrintUsage::print_xml_usage($options); 230 die "\n"; 230 print "\n"; 231 return; 231 232 } 232 233
Note:
See TracChangeset
for help on using the changeset viewer.