- Timestamp:
- 2011-11-30T17:48:15+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugouts/FedoraMETSPlugout.pm
r22465 r24829 613 613 614 614 my $gsdl_href = &util::filename_cat($working_dir, $fname); 615 $collectparent = ~ s/\\/\\\\/g;# escape reserved metacharacter \ in path (by replacing it with \\) for substitution615 $collectparent = &util::filename_to_regex($collectparent); # escape reserved metacharacter \ in path (by replacing it with \\) for substitution 616 616 $gsdl_href =~ s/^$collectparent(\/|\\)?//; # remove the collectparent path in gsdl_href and any trailing slash 617 617 $gsdl_href =~ s/\\/\//g; # make sure we have url paths (which only use / not \) … … 744 744 745 745 my $gsdl_href = &util::filename_cat($working_dir,$assfilePath); 746 $collectparent = ~ s/\\/\\\\/g;# escape reserved metacharacter \ in path (by replacing it with \\) for substitution746 $collectparent = &util::filename_to_regex($collectparent); # escape reserved metacharacter \ in path (by replacing it with \\) for substitution 747 747 $gsdl_href =~ s/^$collectparent(\/|\\)?//; # remove the collectparent path in gsdl_href and any trailing slash 748 748 $gsdl_href =~ s/\\/\//g; # make sure we have url paths (which only use / not \)
Note:
See TracChangeset
for help on using the changeset viewer.