Changeset 34417 for other-projects
- Timestamp:
- 2020-09-28T18:23:19+13:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/diffcol/diffcol.pl
r29495 r34417 708 708 $$lin_contents =~ s@href=http:///@href=http://@g; 709 709 } 710 } 711 712 # remove all absolute paths upto collect folder from <Metadata /> elements 713 if($strModel =~ m/docmets\.xml$/) { 714 $model_contents =~ s@(<gsdl3:Metadata name=\"gsdlfullsourcepath\">).*($strColName)@$1$2@g; 715 $test_contents =~ s@(<gsdl3:Metadata name=\"gsdlfullsourcepath\">).*($strColName)@$1$2@g; 710 716 } 711 717 … … 719 725 # remove all absolute paths upto collect folder from <Metadata /> elements 720 726 $model_contents =~ s@(<Metadata name=\"[^\"]*\">(http:\/\/)?).*(collect[\\\/]$strColName)@$1$3@g; 721 $test_contents =~ s@(<Metadata name=\"[^\"]*\">(http:\/\/)?).*(collect[\\\/]$strColName)@$1$3@g; 727 $test_contents =~ s@(<Metadata name=\"[^\"]*\">(http:\/\/)?).*(collect[\\\/]$strColName)@$1$3@g; 722 728 723 729 # The following block of code is necessary to deal with tmp (html) source files generated when using PDFBox
Note:
See TracChangeset
for help on using the changeset viewer.