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/exportcol.pl

    r16378 r18660  
    238238    print MANIFESTCFG '  etc '; 
    239239    foreach my $c (@valid_coll_list) { 
    240         print MANIFESTCFG "collect\\$c\\index\\text\\$c.ldb "; 
     240        print MANIFESTCFG "collect\\$c\\index\\text\\$c.gdb "; 
    241241    } 
    242242    print MANIFESTCFG "\n\n"; 
     
    323323    &util::mk_all_dir ($newcoldir); 
    324324    &util::cp_r ($colindexdir, $newcoldir); 
     325    &util::rename_gdbm_file(&util::filename_cat ($newcoldir, "index", "text", $c)); 
    325326    &util::cp_r ($coletcdir, $newcoldir); 
    326327    &util::cp_r ($colimagesdir, $newcoldir) if (-e $colimagesdir);