summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 83c6d7696b9..286f9e9eb9d 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -631,6 +631,8 @@ sub do_installation {
tlwarn("Nothing selected, nothing to install, exiting!\n");
exit 1;
}
+ # remove final slash from TEXDIR even if it is the root of a drive
+ $vars{'TEXDIR'} =~ s!/$!!;
# do the actual installation
make_var_skeleton "$vars{'TEXMFSYSVAR'}";
make_local_skeleton "$vars{'TEXMFLOCAL'}";