Ignore:
Timestamp:
03/11/09 13:19:22 (12 years ago)
Author:
kjdon
Message:

we now use gdb instead of ldb/bdb for collection and archives-inf databases. We have a rename step to rename any legacy databases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/incremental-import.pl

    r18510 r18660  
    100100    }
    101101   
    102     my $db_ext = (&util::is_little_endian() ? ".ldb" : ".bdb");
    103 
    104     my $archiveinf_doc = &util::filename_cat($archive_dir,"archiveinf-doc$db_ext");
    105 
     102    my $archiveinf_doc = &util::filename_cat($archive_dir,"archiveinf-doc");
     103    &util::rename_gdbm_file($archiveinf_doc); # ensure gdb
     104    $archiveinf_doc .= ".gdb";
    106105    my $quoted_argv = join(" ", map { "\"$_\"" } @filtered_argv);
    107106   
Note: See TracChangeset for help on using the changeset viewer.