Changeset 21580 for main


Ignore:
Timestamp:
2010-01-22T15:19:08+13:00 (14 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 edited

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
Note: See TracChangeset for help on using the changeset viewer.