mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 01:30:33 +00:00
Update gibMacOS.bat
This commit is contained in:
parent
b452806e37
commit
ea17b52b33
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue