Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cbd3bd5

Browse files
committed
Closes #23160: Respect the environment variable SVNROOT in external-common.bat (patch by anselm.kruis)
1 parent 922bc2c commit cbd3bd5

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

Tools/buildbot/external-common.bat

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
@rem Common file shared between external.bat and external-amd64.bat. Responsible for
22
@rem fetching external components into the root\.. buildbot directories.
33

4+
if "%SVNROOT%"=="" set SVNROOT=http://svn.python.org/projects/external/
5+
46
if not exist externals mkdir externals
57
cd externals
68
@rem XXX: If you need to force the buildbots to start from a fresh environment, uncomment
@@ -18,35 +20,35 @@ cd externals
1820
@rem bzip
1921
if not exist bzip2-1.0.6 (
2022
rd /s/q bzip2-1.0.5
21-
svn export http://svn.python.org/projects/external/bzip2-1.0.6
23+
svn export %SVNROOT%bzip2-1.0.6
2224
)
2325

2426
@rem NASM, for OpenSSL build
2527
@rem if exist nasm-2.11.06 rd /s/q nasm-2.11.06
26-
if not exist nasm-2.11.06 svn export http://svn.python.org/projects/external/nasm-2.11.06
28+
if not exist nasm-2.11.06 svn export %SVNROOT%nasm-2.11.06
2729

2830
@rem OpenSSL
2931
if not exist openssl-1.0.1j (
3032
rd /s/q openssl-1.0.1i
31-
svn export http://svn.python.org/projects/external/openssl-1.0.1j
33+
svn export %SVNROOT%openssl-1.0.1j
3234
)
3335

3436
@rem tcl/tk
3537
if not exist tcl-8.6.1.0 (
3638
rd /s/q tcltk tcltk64 tcl-8.5.11.0 tk-8.5.11.0
37-
svn export http://svn.python.org/projects/external/tcl-8.6.1.0
39+
svn export %SVNROOT%tcl-8.6.1.0
3840
)
39-
if not exist tk-8.6.1.0 svn export http://svn.python.org/projects/external/tk-8.6.1.0
40-
if not exist tix-8.4.3.4 svn export http://svn.python.org/projects/external/tix-8.4.3.4
41+
if not exist tk-8.6.1.0 svn export %SVNROOT%tk-8.6.1.0
42+
if not exist tix-8.4.3.4 svn export %SVNROOT%tix-8.4.3.4
4143

4244
@rem sqlite3
4345
if not exist sqlite-3.8.3.1 (
4446
rd /s/q sqlite-source-3.8.1
45-
svn export http://svn.python.org/projects/external/sqlite-3.8.3.1
47+
svn export %SVNROOT%sqlite-3.8.3.1
4648
)
4749

4850
@rem lzma
4951
if not exist xz-5.0.5 (
5052
rd /s/q xz-5.0.3
51-
svn export http://svn.python.org/projects/external/xz-5.0.5
53+
svn export %SVNROOT%xz-5.0.5
5254
)

0 commit comments

Comments
 (0)