Changeset 9546
- Timestamp:
- 2005-04-04T16:14:08+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/import.pl
r9066 r9546 221 221 'keepold', \$keepold, 222 222 'removeold', \$removeold, 223 'saveas/^(GA|METS)$/ GA', \$saveas,223 'saveas/^(GA|METS)$/', \$saveas, 224 224 'gzip', \$gzip, 225 225 'groupsize/\d+/1', \$groupsize, … … 361 361 } 362 362 } 363 if (defined $collectcfg->{'sortmeta'} && $sortmeta eq "") { 363 if ($saveas !~ /^(GA|METS)$/) { 364 if (defined $collectcfg->{'saveas'} && $collectcfg->{'saveas'} =~ /^(GA|METS)$/) { 365 $saveas = $collectcfg->{'saveas'}; 366 } else { 367 $saveas ="GA"; 368 } 369 } 370 if (defined $collectcfg->{'sortmeta'} && (!defined$sortmeta || $sortmeta eq "")) { 364 371 $sortmeta = $collectcfg->{'sortmeta'}; 365 372 } 366 373 374 if (defined $collectcfg->{'removeprefix'} && $removeprefix eq "") { 375 $removeprefix = $collectcfg->{'removeprefix'}; 376 } 377 378 if (defined $collectcfg->{'removesuffix'} && $removesuffix eq "") { 379 $removesuffix = $collectcfg->{'removesuffix'}; 380 } 367 381 if (defined $collectcfg->{'debug'} && $collectcfg->{'debug'} =~ /^true$/i) { 368 382 $debug = 1; … … 373 387 374 388 # global plugin stuff 375 if (defined $collectcfg->{'separate_cjk'} && $collectcfg->{'separate_cjk'} =~ /^true$/i) {389 if (defined $collectcfg->{'separate_cjk'} && $collectcfg->{'separate_cjk'} =~ /^true$/i) { 376 390 push @global_opts, "-separate_cjk"; 377 391 }
Note:
See TracChangeset
for help on using the changeset viewer.