summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2011-05-30 19:53:05 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2011-05-30 19:53:05 +0000
commit81ac34f00fab344f81e8476a26ba63a99427bd41 (patch)
tree8ff7198ac44849a259c22bc47df018fbdfe6bbc9 /Master/install-tl
parent9629e970cd48e4e43c78ae4105bd3380b4cb82f5 (diff)
Fixes for handling TEXDIR
git-svn-id: svn://tug.org/texlive/trunk@22689 c570f23f-e606-0410-a88d-b1316a301751
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'}";