Changeset 22459 for main/trunk/greenstone2/bin
- Timestamp:
- 2010-07-21T12:16:18+12:00 (14 years ago)
- Location:
- main/trunk/greenstone2/bin/script
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/export.pl
r22421 r22459 277 277 278 278 my $collection = $inexport->get_collection(); 279 my ($config_filename,$collect_cfg) = $inexport->read_collection_cfg($collection,$options); 280 $inexport->set_collection_options($collect_cfg); 279 280 if (defined $collection) { 281 my ($config_filename,$collect_cfg) 282 = $inexport->read_collection_cfg($collection,$options); 283 284 $inexport->set_collection_options($collect_cfg); 281 285 282 my $pluginfo = $inexport->process_files($config_filename,$collect_cfg); 283 284 $inexport->generate_statistics($pluginfo); 286 my $pluginfo = $inexport->process_files($config_filename,$collect_cfg); 287 288 $inexport->generate_statistics($pluginfo); 289 } 285 290 } 286 291 -
main/trunk/greenstone2/bin/script/import.pl
r22421 r22459 266 266 267 267 my $collection = $inexport->get_collection(); 268 my ($config_filename,$collect_cfg) = $inexport->read_collection_cfg($collection,$options); 269 $inexport->set_collection_options($collect_cfg); 270 271 my $pluginfo = $inexport->process_files($config_filename,$collect_cfg); 272 273 $inexport->generate_statistics($pluginfo); 268 269 if (defined $collection) { 270 my ($config_filename,$collect_cfg) 271 = $inexport->read_collection_cfg($collection,$options); 272 273 $inexport->set_collection_options($collect_cfg); 274 275 my $pluginfo = $inexport->process_files($config_filename,$collect_cfg); 276 277 $inexport->generate_statistics($pluginfo); 278 } 274 279 } 275 280
Note:
See TracChangeset
for help on using the changeset viewer.