[Python-checkins] r55956 - python/trunk/Tools/buildbot/external-amd64.bat

thomas.heller python-checkins at python.org
Wed Jun 13 09:07:04 CEST 2007


Author: thomas.heller
Date: Wed Jun 13 09:07:03 2007
New Revision: 55956

Modified:
   python/trunk/Tools/buildbot/external-amd64.bat
Log:
Do not hardcode the buildbot's directory name.


Modified: python/trunk/Tools/buildbot/external-amd64.bat
==============================================================================
--- python/trunk/Tools/buildbot/external-amd64.bat	(original)
+++ python/trunk/Tools/buildbot/external-amd64.bat	Wed Jun 13 09:07:03 2007
@@ -7,19 +7,20 @@
 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


More information about the Python-checkins mailing list