summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-01-20 16:53:58 +0000
committerNorbert Preining <preining@logic.at>2009-01-20 16:53:58 +0000
commiteb017877f0ea78d1f340ba146aa1dc59ca071556 (patch)
tree5aefe5f073eca623d7b02f88197de4d290ed6da9 /Master/bin
parentaeae5f13dbfc3aaadf3a408da0f8298bc6c941dd (diff)
fix fix fix with long explanation
git-svn-id: svn://tug.org/texlive/trunk@11929 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/win32/tlmgr.bat10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/bin/win32/tlmgr.bat b/Master/bin/win32/tlmgr.bat
index 4cd47bd4d4c..867cf3a68ac 100755
--- a/Master/bin/win32/tlmgr.bat
+++ b/Master/bin/win32/tlmgr.bat
@@ -8,7 +8,15 @@ setlocal
rem TL installation root
for %%P in ("%~dp0..\..") do set "tlroot=%%~fP"
rem This shouldn't be necessary but without it 'tlmgr gui' complains
-path %TLdir%\tlpkg\installer;%path%
+rem Comment from Tomek:
+rem It is not about putting tlpkg\installer on the path, this is
+rem irrelevant. It's about making sure that cmd.exe is not found on the
+rem first element of the path.
+rem I looks like perl discards or somehow mishandles the very first of the
+rem path when it searches for cmd.exe. In fact, even this is enough to fix it:
+path ;%path%
+rem Alternatively we can activate the original way by adding the installer dir
+rem path %TLdir%\tlpkg\installer;%path%
rem Start tlmgr
set PERL5LIB=%tlroot%\tlpkg\tlperl\lib