summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 5d7c66ff696..4e03dc73f47 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -381,6 +381,10 @@ if ($opt_profile eq "") {
if (!$finished) {
# do the actual installation
+ # win32: first, remove trailing slash from texdir[w]
+ # in case it is the root of a drive
+ $vars{'TEXDIR'} =~ s![/\\]$!!;
+ $vars{'TEXDIRW'} =~ s![/\\]$!!;
do_installation();
}