summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLMedia.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLMedia.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLMedia.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLMedia.pm b/Master/tlpkg/TeXLive/TLMedia.pm
index 3b72fa48b54..09ef74e2d15 100644
--- a/Master/tlpkg/TeXLive/TLMedia.pm
+++ b/Master/tlpkg/TeXLive/TLMedia.pm
@@ -156,6 +156,9 @@ sub install_package {
my $container;
my @installfiles;
my $location = $self->location;
+ # make sure that there is no terminal / in $location, otherwise we
+ # will get double // somewhere
+ $location =~ s!/$!!;
foreach ($tlpobj->runfiles) {
# s!^!$location/!;
push @installfiles, $_;