Update gibMacOS.bat

This commit is contained in:
CorpNewt
2019-11-01 21:39:59 -05:00
committed by GitHub
parent b452806e37
commit ea17b52b33
+3 -1
View File
@@ -52,7 +52,9 @@ goto :EOF
:checkpy
call :updatepath
for /f "tokens=*" %%x in ('where python') do ( call :checkpyversion "%%x" "py2v" "py2path" "py3v" "py3path" )
REM Get the system32 (or equivalent) path
set syspath=%ComSpec:cmd.exe=%
for /f "tokens=*" %%x in ('!syspath!where python') do ( call :checkpyversion "%%x" "py2v" "py2path" "py3v" "py3path" )
set "targetpy=3"
if /i "!use_py3!" == "FALSE" (
set "targetpy=2"