Changeset 29097 for main/trunk/greenstone2
- Timestamp:
- 2014-06-12T12:20:16+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/import.pl
r28703 r29097 192 192 } 193 193 } 194 194 195 195 my $inexport; 196 196 if (defined $inexport_subclass) … … 200 200 $inexport = new $inexport_subclass("import",\@ARGV,$options); 201 201 } 202 202 203 # We don't have a overridden inexport, or the above command failed somehow 203 204 # so load the base inexport class … … 208 209 209 210 my $collection = $inexport->get_collection(); 210 211 211 212 if (defined $collection) 212 213 { … … 219 220 220 221 $inexport->generate_statistics($pluginfo); 221 } 222 222 } else { 223 # can this actually happen, or will we have died already before getting here 224 print STDERR "collection not defined\n"; 225 $inexport->deinit(); 226 exit(-1); 227 } 223 228 $inexport->deinit(); 224 229 }
Note:
See TracChangeset
for help on using the changeset viewer.