From a12c4cd9f80d3c0fecb91e3733d0c65e857832a1 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 9 Nov 2010 08:33:39 +0000 Subject: 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 --- Master/tlpkg/TeXLive/TLMedia.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Master') 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, $_; -- cgit v1.2.3