diff options
author | Thomas Heller <theller@ctypes.org> | 2007-06-13 07:07:03 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-06-13 07:07:03 (GMT) |
commit | 92094d0f1ce2806f11f200a941cc975ff24ee46e (patch) | |
tree | bcc51c1182f2fc31728c019be93384cfdffef69b /Tools/buildbot | |
parent | 2a71a47c95701c71bc28314fe005e23fe32ddafb (diff) | |
download | cpython-92094d0f1ce2806f11f200a941cc975ff24ee46e.zip cpython-92094d0f1ce2806f11f200a941cc975ff24ee46e.tar.gz cpython-92094d0f1ce2806f11f200a941cc975ff24ee46e.tar.bz2 |
Do not hardcode the buildbot's directory name.
Diffstat (limited to 'Tools/buildbot')
-rw-r--r-- | Tools/buildbot/external-amd64.bat | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Tools/buildbot/external-amd64.bat b/Tools/buildbot/external-amd64.bat index dac8cb3..b26faf4 100644 --- a/Tools/buildbot/external-amd64.bat +++ b/Tools/buildbot/external-amd64.bat @@ -7,19 +7,20 @@ call "%VS71COMNTOOLS%vsvars32.bat" call "%MSSdk%\SetEnv" /XP64 /RETAIL @rem Assume we start inside the Python source directory +for %%i in (.) do set CWD=%%~fi cd .. @rem sqlite if not exist sqlite-source-3.3.4 ( svn export http://svn.python.org/projects/external/sqlite-source-3.3.4 - if exist build\PCbuild\sqlite3.dll del build\PCbuild\sqlite3.dll + if exist %CWD%\PCbuild\sqlite3.dll del %CWD%\PCbuild\sqlite3.dll ) -if not exist build\PCbuild\sqlite3.dll ( +if not exist %CWD%\PCbuild\sqlite3.dll ( cd sqlite-source-3.3.4\amd64 cl ..\*.c link /def:..\sqlite3.def /dll *.obj /out:sqlite3.dll bufferoverflowU.lib cd ..\.. - copy sqlite-source-3.3.4\amd64\sqlite3.dll build\PCbuild + copy sqlite-source-3.3.4\amd64\sqlite3.dll %CWD%\PCbuild ) @rem bzip |