Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use %~dpf0 to make sure path to the vimtutor.bat #6966

Closed
wants to merge 4 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion vimtutor.bat
Expand Up @@ -11,7 +11,7 @@

:: Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
FOR %%d in (. %TMP% %TEMP%) DO (
call :test_dir_writable %0 %%d
call :test_dir_writable "%~s0" %%d
mattn marked this conversation as resolved.
Show resolved Hide resolved
IF NOT ERRORLEVEL 1 GOTO dir_ok
)

Expand Down