summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/install-tl-windows.bat
diff options
context:
space:
mode:
Diffstat (limited to 'systems/texlive/tlnet/install-tl-windows.bat')
-rwxr-xr-xsystems/texlive/tlnet/install-tl-windows.bat6
1 files changed, 4 insertions, 2 deletions
diff --git a/systems/texlive/tlnet/install-tl-windows.bat b/systems/texlive/tlnet/install-tl-windows.bat
index 2a9b23afda..640c7396c2 100755
--- a/systems/texlive/tlnet/install-tl-windows.bat
+++ b/systems/texlive/tlnet/install-tl-windows.bat
@@ -138,8 +138,10 @@ set args=%args% %p%
goto rebuildargs
:nomoreargs
-set wish="%instroot%tlpkg\tltcl\tclkit.exe"
-if not exist "%wish%" set wish="%instroot%tlpkg\tltcl\bin\wish.exe"
+rem set preserves quotes, and its argument is the remainder of the line
+rem so do not here quote paths with spaces in it
+set wish=%instroot%tlpkg\tltcl\tclkit.exe
+if not exist "%wish%" set wish=%instroot%tlpkg\tltcl\bin\wish.exe
if not exist "%wish%" set tcl=no
if %forbid% == yes set tcl=no