|
|
|
@ -19,8 +19,8 @@ if "%1" == "force" (
|
|
|
|
|
|
|
|
|
|
|
|
:SVN_CHECK
|
|
|
|
:SVN_CHECK
|
|
|
|
:: If the batch file exists, skip the svn check.
|
|
|
|
:: If the batch file exists, skip the svn check.
|
|
|
|
if "%WIN_TOOLS_FORCE%" == "1" goto :SVN_INSTALL
|
|
|
|
|
|
|
|
if exist "%WIN_TOOLS_ROOT_DIR%\svn.bat" goto :PYTHON_CHECK
|
|
|
|
if exist "%WIN_TOOLS_ROOT_DIR%\svn.bat" goto :PYTHON_CHECK
|
|
|
|
|
|
|
|
if "%WIN_TOOLS_FORCE%" == "1" goto :SVN_FORCE
|
|
|
|
call svn --version 2>nul 1>nul
|
|
|
|
call svn --version 2>nul 1>nul
|
|
|
|
if errorlevel 1 goto :SVN_INSTALL
|
|
|
|
if errorlevel 1 goto :SVN_INSTALL
|
|
|
|
goto :PYTHON_CHECK
|
|
|
|
goto :PYTHON_CHECK
|
|
|
|
@ -54,9 +54,9 @@ goto :END
|
|
|
|
|
|
|
|
|
|
|
|
:PYTHON_CHECK
|
|
|
|
:PYTHON_CHECK
|
|
|
|
:: If the batch file exists, skip the python check.
|
|
|
|
:: If the batch file exists, skip the python check.
|
|
|
|
if "%WIN_TOOLS_FORCE%" == "1" goto :PYTHON_INSTALL
|
|
|
|
|
|
|
|
set ERRORLEVEL=0
|
|
|
|
set ERRORLEVEL=0
|
|
|
|
if exist "%WIN_TOOLS_ROOT_DIR%\python.bat" goto :END
|
|
|
|
if exist "%WIN_TOOLS_ROOT_DIR%\python.bat" goto :END
|
|
|
|
|
|
|
|
if "%WIN_TOOLS_FORCE%" == "1" goto :PYTHON_INSTALL
|
|
|
|
call python --version 2>nul 1>nul
|
|
|
|
call python --version 2>nul 1>nul
|
|
|
|
if errorlevel 1 goto :PYTHON_INSTALL
|
|
|
|
if errorlevel 1 goto :PYTHON_INSTALL
|
|
|
|
|
|
|
|
|
|
|
|
|