Fix for spaces in py paths

This commit is contained in:
CorpNewt 2019-10-08 14:22:56 -05:00 committed by GitHub
parent 56cce440e3
commit 2644104a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ if not exist "!thisDir!\!script_name!" (
goto checkpy
:checkpy
for /f "tokens=1" %%x in ('where python') do ( call :checkpyversion "%%x" "py2v" "py2path" "py3v" "py3path" )
for /f "tokens=*" %%x in ('where python') do ( call :checkpyversion "%%x" "py2v" "py2path" "py3v" "py3path" )
set "targetpy=3"
if /i "!use_py3!" == "FALSE" (
set "targetpy=2"