mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-04-21 12:31:48 +00:00
Fix for spaces in py paths
This commit is contained in:
+1
-1
@@ -34,7 +34,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"
|
||||
|
||||
Reference in New Issue
Block a user