Changeset 8796 for trunk/gsdl/bin/script
- Timestamp:
- 2004-12-14T14:07:09+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/import.pl
r8603 r8796 54 54 'desc' => "{import.OIDtype.hash}" }, 55 55 { 'name' => "incremental", 56 'desc' => "{import.OIDtype.incremental}" } ]; 56 'desc' => "{import.OIDtype.incremental}" }, 57 { 'name' => "assigned", 58 'desc' => "{import.OIDtype.assigned}" }, 59 { 'name' => "dirname", 60 'desc' => "{import.OIDtype.dirname}" } ]; 57 61 58 62 #** define to use the original GA format or METS format … … 207 211 'gzip', \$gzip, 208 212 'groupsize/\d+/1', \$groupsize, 209 'OIDtype/^(hash|incremental )$/', \$OIDtype,213 'OIDtype/^(hash|incremental|assigned|dirname)$/', \$OIDtype, 210 214 'sortmeta/.*/', \$sortmeta, 211 215 'debug', \$debug, … … 334 338 } 335 339 } 336 if ($OIDtype !~ /^(hash|incremental )$/) {337 if (defined $collectcfg->{'OIDtype'} && $collectcfg->{'OIDtype'} =~ /^(hash|incremental )$/) {340 if ($OIDtype !~ /^(hash|incremental|assigned|dirname)$/) { 341 if (defined $collectcfg->{'OIDtype'} && $collectcfg->{'OIDtype'} =~ /^(hash|incremental|assigned|dirname)$/) { 338 342 $OIDtype = $collectcfg->{'OIDtype'}; 339 343 } else {
Note:
See TracChangeset
for help on using the changeset viewer.