1@rem Common file shared between external.bat and external-amd64.bat.  Responsible for
2@rem fetching external components into the root\.. buildbot directories.
3
4cd ..
5@rem XXX: If you need to force the buildbots to start from a fresh environment, uncomment
6@rem the following, check it in, then check it out, comment it out, then check it back in.
7@rem if exist bzip2-1.0.5 rd /s/q bzip2-1.0.5
8@rem if exist tcltk rd /s/q tcltk
9@rem if exist tcltk64 rd /s/q tcltk64
10@rem if exist tcl8.4.12 rd /s/q tcl8.4.12
11@rem if exist tcl8.4.16 rd /s/q tcl8.4.16
12@rem if exist tcl-8.4.18.1 rd /s/q tcl-8.4.18.1
13@rem if exist tk8.4.12 rd /s/q tk8.4.12
14@rem if exist tk8.4.16 rd /s/q tk8.4.16
15@rem if exist tk-8.4.18.1 rd /s/q tk-8.4.18.1
16@rem if exist db-4.4.20 rd /s/q db-4.4.20
17@rem if exist db-4.7.25.0 rd /s/q db-4.7.25.0
18@rem if exist openssl-0.9.8l rd /s/q openssl-0.9.8l
19@rem if exist sqlite-3.6.21 rd /s/q sqlite-3.6.21
20
21@rem bzip
22if not exist bzip2-1.0.5 (
23   rd /s/q bzip2-1.0.3
24  svn export http://svn.python.org/projects/external/bzip2-1.0.5
25)
26
27@rem Berkeley DB
28if exist db-4.4.20 rd /s/q db-4.4.20
29if not exist db-4.7.25.0 svn export http://svn.python.org/projects/external/db-4.7.25.0
30
31@rem OpenSSL
32if not exist openssl-0.9.8l svn export http://svn.python.org/projects/external/openssl-0.9.8l
33
34@rem tcl/tk
35if not exist tcl-8.5.2.1 (
36   rd /s/q tcltk tcltk64
37   svn export http://svn.python.org/projects/external/tcl-8.5.2.1
38)
39if not exist tk-8.5.2.0 svn export http://svn.python.org/projects/external/tk-8.5.2.0
40
41@rem sqlite3
42if not exist sqlite-3.6.21 (
43  rd /s/q sqlite-source-3.3.4
44  svn export http://svn.python.org/projects/external/sqlite-3.6.21
45)
46