summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-11-09 08:33:39 +0000
committerNorbert Preining <preining@logic.at>2010-11-09 08:33:39 +0000
commita12c4cd9f80d3c0fecb91e3733d0c65e857832a1 (patch)
treebe23b7bd3a3cfd214783332f0f54c160efbd8761 /Master
parentac9dbf97d63c852cd237c8c5a29d98f15ca1135a (diff)
remove a terminal / in the location in tlmedia, we add it later anyway
git-svn-id: svn://tug.org/texlive/trunk@20380 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-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, $_;