Show
Ignore:
Timestamp:
11.03.2009 13:19:22 (11 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

Files:
1 modified

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