Changeset 19446 for gsdl/trunk/bin/script/build
- Timestamp:
- 2009-05-13T15:56:20+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/build
r18063 r19446 337 337 `echo $importdir ; ls $importdir `; 338 338 339 if (-e &util::filename_cat ($archivedir, "archive s.inf")) {339 if (-e &util::filename_cat ($archivedir, "archiveinf-doc.gdb")) { 340 340 if (&has_content ($importdir)) { 341 341 if ($buildtype eq "build") { … … 360 360 } 361 361 &gsdl_import(); 362 if (&has_content ($archivedir, "^ archives.inf\$")) {362 if (&has_content ($archivedir, "^(archiveinf-(doc|src).gdb|OIDcount)\$")) { 363 363 &gsdl_build(); 364 364 } else { … … 462 462 &append_file ($out, "$outfile.import"); 463 463 464 if (-e &util::filename_cat ($archivedir, "archive s.inf")) {464 if (-e &util::filename_cat ($archivedir, "archiveinf-doc.gdb")) { 465 465 print $out "$collection collection imported successfully\n\n"; 466 466 if ($remove_import) { … … 505 505 &append_file ($out, "$outfile.build"); 506 506 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"))) { 511 509 print $out "$collection collection built successfully\n\n"; 512 510 if ($remove_archives) {
Note:
See TracChangeset
for help on using the changeset viewer.