Changeset 28107 for other-projects/nightly-tasks/diffcol/trunk/diffcol
- Timestamp:
- 2013-08-20T21:41:34+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/diffcol/diffcol.pl
r28102 r28107 558 558 return 1; 559 559 } 560 } elsif($file_contents =~ m@<Doc (.*)? file="(.*)?\\doc.xml" ([^>]*)?>@) { # windows slashes detected in doc.xml in index/text/HASHxxx.dir 561 return 1; 560 562 } 561 563 … … 638 640 my ($model_contents, $test_contents); 639 641 640 if($strModel =~ m/doc(mets)?\.xml$/) { 642 # archives/doc.xml files, archives/docmets.xml files and index/text/doc.xml files 643 if($strModel =~ m/doc(mets)?\.xml$/ || ($strModel =~ m@index[\\/]text@ && $strModel =~ m/doc\.xml$/)) { 641 644 642 645 open(FIN,"<$strModel") or die "Unable to open $strModel...ERROR: $!\n"; … … 742 745 # &gdbdiff::print_string_to_file($model_contents, $savepath."model_docmets.xml"); 743 746 # &gdbdiff::print_string_to_file($test_contents, $savepath."test_docmets.xml"); 744 # if($strModel =~ m/(HASH0164.dir)/) { # list the HASH dirs for which you want the doc.xml file generated 747 # if($strModel =~ m/(HASH0164.dir)/) { # list the HASH dirs for which you want the doc.xml file generated, to inspect specific doc.xml files 745 748 # &gdbdiff::print_string_to_file($model_contents, $savepath."$1_model_doc.xml"); 746 749 # &gdbdiff::print_string_to_file($test_contents, $savepath."$1_test_doc.xml");
Note:
See TracChangeset
for help on using the changeset viewer.