summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 03ed19c1e9c..b5fb6ab1827 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -587,6 +587,9 @@ sub install_package {
$lzmadec="$bindir/lzma.exe d -si -so"; $lzmadec =~ s!/!\\!g;
$tar="$bindir/tar.exe -xf - -C"; $tar =~ s!/!\\!g;
$wget="$bindir/wget.exe -nv -O-"; $wget =~ s!/!\\!g;
+ # make sure that the target has backslashes
+ $target =~ s!/!\\!g;
+ $what =~ s!/!\\!g;
}
if (ref $what) {
@@ -608,6 +611,8 @@ sub install_package {
or die "Can't open '$what': $!\n";
binmode IN;
+ print "DEBUG: opening IN $what\n";
+ print "DEBUG: opening OUT $lzmadec|$tar $target\n";
open OUT, "|$lzmadec|$tar $target";
binmode OUT;