Changeset 18063


Ignore:
Timestamp:
2008-12-04T12:51:08+13:00 (15 years ago)
Author:
kjdon
Message:

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

File:
1 edited

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) {
Note: See TracChangeset for help on using the changeset viewer.