Changeset 6330 for trunk/gsdl/bin/script
- Timestamp:
- 2003-12-19T15:09:04+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/import.pl
r6109 r6330 242 242 $maxdocs, $collection, $configfilename, $collectcfg, 243 243 $pluginfo, $sortmeta, $archive_info_filename, $statsfile, 244 $archive_info, $processor, $out, $faillog, $collectdir );244 $archive_info, $processor, $out, $faillog, $collectdir, $gli); 245 245 246 246 # ***** 11-04-03 - John Thompson ***** … … 267 267 'statsfile/.*/STDERR', \$statsfile, 268 268 'faillog/.*/', \$faillog, 269 'gli', \$gli, 269 270 q^xml^, \$xml)) { 270 271 &print_txt_usage($language); … … 386 387 $debug = 1; 387 388 } 389 if (defined $collectcfg->{'gli'} && $collectcfg->{'gli'} =~ /^true$/i) { 390 $gli = 1; 391 } 388 392 389 393 } else { 390 394 die &lookup_string("{import.cannot_find_cfg_file}") . " $configfilename\n"; 391 395 } 396 397 $gli = 0 unless defined $gli; 398 399 print STDERR "<Import>\n" if $gli; 392 400 393 401 # fill in the default import and archives directories if none … … 432 440 433 441 # process the import directory 434 &plugin::read ($pluginfo, $importdir, "", {}, $processor, $maxdocs );442 &plugin::read ($pluginfo, $importdir, "", {}, $processor, $maxdocs, $gli); 435 443 436 444 &plugin::end($pluginfo, $processor); … … 460 468 print $out "*********************************************\n"; 461 469 462 &plugin::write_stats($pluginfo, $statsfile, $faillogname );470 &plugin::write_stats($pluginfo, $statsfile, $faillogname, $gli); 463 471 if ($close_stats) { 464 472 close STATS;
Note:
See TracChangeset
for help on using the changeset viewer.