Changeset 21580

Show
Ignore:
Timestamp:
22.01.2010 15:19:08 (9 years ago)
Author:
mdewsnip
Message:

Changed import.pl and export.pl to pass the infodbtype read from the collect.cfg file into the arcinfo object. Part of making the code less GDBM-specific.

Location:
main/trunk/greenstone2/bin/script
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/export.pl

    r21564 r21580  
    534534 
    535535         
    536     $export_info = new arcinfo(); 
     536    $export_info = new arcinfo($collectcfg->{'infodbtype'}); 
    537537    $export_info -> load_info ($expinfo_doc_filename);   
    538538         
  • main/trunk/greenstone2/bin/script/import.pl

    r21564 r21580  
    537537 
    538538                             
    539     $archive_info = new arcinfo (); 
     539    $archive_info = new arcinfo ($collectcfg->{'infodbtype'}); 
    540540    $archive_info->load_info ($arcinfo_doc_filename); 
    541541