blob: e1d74de6ac78f5fc144c907fc6093effea789f85 [file] [log] [blame]
Zachary Ware6b6e6872017-06-10 14:58:42 -05001@echo off
2setlocal
3rem Simple script to fetch source for external tools
4
5where /Q svn
6if ERRORLEVEL 1 (
7 echo.svn.exe must be on your PATH to get external tools.
8 echo.Try TortoiseSVN (http://tortoisesvn.net/^) and be sure to check the
9 echo.command line tools option.
10 popd
11 exit /b 1
12)
13
14if not exist "%~dp0..\..\externals" mkdir "%~dp0..\..\externals"
15pushd "%~dp0..\..\externals"
16
17if "%SVNROOT%"=="" set SVNROOT=http://svn.python.org/projects/external/
18
19if not exist "windows-installer\.svn" (
20 echo.Checking out installer dependencies to %CD%\windows-installer
21 svn co %SVNROOT%windows-installer
22) else (
23 echo.Updating installer dependencies in %CD%\windows-installer
24 svn up windows-installer
25)
26
27popd