Changeset 6584 for trunk/gsdl/bin/script
- Timestamp:
- 2004-01-22T14:17:30+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/import.pl
r6407 r6584 348 348 # options must be known before we read the collect.cfg)) 349 349 my $plugins = []; 350 my @global_opts = (); 351 350 352 $configfilename = &util::filename_cat ($ENV{'GSDLCOLLECTDIR'}, "etc", "collect.cfg"); 351 353 if (-e $configfilename) { … … 414 416 $gli = 1; 415 417 } 418 419 # global plugin stuff 420 if (defined $collectcfg->{'separate_cjk'}&& $collectcfg->{'separate_cjk'} =~ /^true$/i) { 421 push @global_opts, "-separate_cjk"; 422 } 423 416 424 417 425 } else { … … 433 441 434 442 # load all the plugins 435 $pluginfo = &plugin::load_plugins ($plugins, $verbosity, $out, $faillog );443 $pluginfo = &plugin::load_plugins ($plugins, $verbosity, $out, $faillog, \@global_opts); 436 444 if (scalar(@$pluginfo) == 0) { 437 445 print $out &lookup_string("{import.no_plugins_loaded}") . "\n";
Note:
See TracChangeset
for help on using the changeset viewer.