mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00:00
patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars
Problem: MS-Windows: vimtutor fails if %TMP% has special chars. Solution: Add quotes. (Tamce, closes #2561)
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
:: When that also fails, it uses the English version.
|
||||
|
||||
:: Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
|
||||
FOR %%d in (. %TMP% %TEMP%) DO IF EXIST %%d\nul SET TUTORCOPY=%%d\$tutor$
|
||||
FOR %%d in (. "%TMP%" "%TEMP%") DO IF EXIST %%d\nul SET TUTORCOPY=%%d\$tutor$
|
||||
|
||||
SET xx=%1
|
||||
|
||||
|
Reference in New Issue
Block a user