Changeset 21567 for main/trunk/greenstone2/bin
- Timestamp:
- 2010-01-21T16:25:53+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/build
r19485 r21567 337 337 `echo $importdir ; ls $importdir `; 338 338 339 if (-e &util::filename_cat ($archivedir, "archiveinf-doc.gdb")) { 339 my $archiveinf_doc_file_path = &dbutil::get_infodb_file_path("gdbm", "archiveinf-doc", $archivedir); 340 if (-e $archiveinf_doc_file_path) { 340 341 if (&has_content ($importdir)) { 341 342 if ($buildtype eq "build") { … … 360 361 } 361 362 &gsdl_import(); 362 if (&has_content ($archivedir, "^archiveinf-doc .gdb\$")) {363 if (&has_content ($archivedir, "^archiveinf-doc\..*\$")) { 363 364 &gsdl_build(); 364 365 } else { … … 462 463 &append_file ($out, "$outfile.import"); 463 464 464 if (-e &util::filename_cat ($archivedir, "archiveinf-doc.gdb")) { 465 my $archiveinf_doc_file_path = &dbutil::get_infodb_file_path("gdbm", "archiveinf-doc", $archivedir); 466 if (-e $archiveinf_doc_file_path) { 465 467 print $out "$collection collection imported successfully\n\n"; 466 468 if ($remove_import) {
Note:
See TracChangeset
for help on using the changeset viewer.