Changeset 16426
- Timestamp:
- 2008-07-16T13:25:56+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugouts/FedoraMETSPlugout.pm
r16414 r16426 537 537 } 538 538 539 my $gsdl_href = "$working_dir/$fname";539 my $gsdl_href = &util::filename_cat($working_dir, $fname); 540 540 $collectparent =~ s/\\/\\\\/g; # escape reserved metacharacter \ in path (by replacing it with \\) for substitution 541 541 $gsdl_href =~ s/^$collectparent(\/|\\)?//; # remove the collectparent path in gsdl_href and any trailing slash … … 665 665 } 666 666 667 my $gsdl_href = "$working_dir/$assfilePath";667 my $gsdl_href = &util::filename_cat($working_dir,$assfilePath); 668 668 $collectparent =~ s/\\/\\\\/g; # escape reserved metacharacter \ in path (by replacing it with \\) for substitution 669 669 $gsdl_href =~ s/^$collectparent(\/|\\)?//; # remove the collectparent path in gsdl_href and any trailing slash 670 670 $gsdl_href =~ s/\\/\//g; # make sure we have url paths (which only use / not \) 671 671 $gsdl_href = "/gsdl/$gsdl_href"; # prepend gsdl 672 672 673 673 my $fserver = $ENV{'FEDORA_HOSTNAME'}; 674 674 my $fport = $ENV{'FEDORA_SERVER_PORT'};
Note:
See TracChangeset
for help on using the changeset viewer.