Changeset 18063

Show
Ignore:
Timestamp:
04.12.2008 12:51:08 (11 years ago)
Author:
kjdon
Message:

sqlite databases are .db so I added them into the db test for successful collection building

Files:
1 modified

Legend:

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

    r17253 r18063  
    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     ($removeold == 0 && (-e &util::filename_cat ($indexdir, "text", "$collection.ldb") || -e &util::filename_cat ($indexdir, "text", "$collection.bdb")))) { 
     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")))) { 
    509511    print $out "$collection collection built successfully\n\n"; 
    510512    if ($remove_archives) {