Build db-4.4.20 with VS9; remove VS2003 build if necessary.
diff --git a/Tools/buildbot/external.bat b/Tools/buildbot/external.bat
index 9797aa2..ae18ead 100644
--- a/Tools/buildbot/external.bat
+++ b/Tools/buildbot/external.bat
@@ -8,9 +8,14 @@
 if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3

 

 @rem Sleepycat db

-if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20

+@rem Remove VS 2003 builds

+if exist db-4.4.20 if not exist db-4.4.20\build_win32\this_is_for_vs9 (

+   echo Removing old build

+   rd /s/q db-4.4.20

+)

+if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20-vs9 db-4.4.20

 if not exist db-4.4.20\build_win32\debug\libdb44sd.lib (

-   vcbuild db-4.4.20\build_win32\Berkeley_DB.sln /build Debug /project db_static

+   vcbuild db-4.4.20\build_win32\db_static.vcproj "Debug|Win32"

 )

 

 @rem OpenSSL