Changeset 19446

Show
Ignore:
Timestamp:
13.05.2009 15:56:20 (10 years ago)
Author:
kjdon
Message:

no longer use archives.inf and *.ldb/bdb files as tsts. Now use archiveinf-doc.gdb and *.gdb files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/build

    r18063 r19446  
    337337    `echo $importdir ; ls $importdir `; 
    338338 
    339     if (-e &util::filename_cat ($archivedir, "archives.inf")) { 
     339    if (-e &util::filename_cat ($archivedir, "archiveinf-doc.gdb")) { 
    340340    if (&has_content ($importdir)) { 
    341341        if ($buildtype eq "build") { 
     
    360360        } 
    361361        &gsdl_import(); 
    362         if (&has_content ($archivedir, "^archives.inf\$")) { 
     362        if (&has_content ($archivedir, "^(archiveinf-(doc|src).gdb|OIDcount)\$")) { 
    363363        &gsdl_build(); 
    364364        } else { 
     
    462462    &append_file ($out, "$outfile.import"); 
    463463 
    464     if (-e &util::filename_cat ($archivedir, "archives.inf")) { 
     464    if (-e &util::filename_cat ($archivedir, "archiveinf-doc.gdb")) { 
    465465    print $out "$collection collection imported successfully\n\n"; 
    466466    if ($remove_import) { 
     
    505505    &append_file ($out, "$outfile.build"); 
    506506 
    507     if (($removeold && (-e &util::filename_cat ($buildingdir, "text", "$collection.ldb") || -e &util::filename_cat ($buildingdir, "text", "$collection.bdb") || 
    508     -e &util::filename_cat ($buildingdir, "text", "$collection.db"))) || 
    509     ($removeold == 0 && (-e &util::filename_cat ($indexdir, "text", "$collection.ldb") || -e &util::filename_cat ($indexdir, "text", "$collection.bdb")|| 
    510     -e &util::filename_cat ($buildingdir, "text", "$collection.db")))) { 
     507    if (($removeold && -e &util::filename_cat ($buildingdir, "text", "$collection.gdb" )) || 
     508    ($removeold == 0 && -e &util::filename_cat ($indexdir, "text", "$collection.gdb"))) { 
    511509    print $out "$collection collection built successfully\n\n"; 
    512510    if ($remove_archives) {