[Buildbot-commits] [SPAM] Re: [Buildbot] #788: Incorrect buildbot.bat when installing on virtualenv on windows

Buildbot buildbot-devel at lists.sourceforge.net
Sat Apr 10 19:47:51 UTC 2010


#788: Incorrect buildbot.bat when installing on virtualenv on windows
----------------------+-----------------------------------------------------
Reporter:  itamarost  |       Owner:                    
    Type:  defect     |      Status:  new               
Priority:  major      |   Milestone:  undecided         
 Version:  0.7.12     |    Keywords:  virtualenv windows
----------------------+-----------------------------------------------------

Comment(by marcusl):

 The script should contain something like this (but tested):

 {{{
 @echo off

 IF EXISTS "%~dp0..\python.exe" (
   "%~dp0..\python"  "%~dp0buildbot" %*
 ) ELSE IF EXISTS "%~dp0.\python.exe" (
   "%~dp0.\python"  "%~dp0buildbot" %*
 ) ELSE (
   echo Failed to find python.exe
   exit /b 1
 )

 exit /b %ERRORLEVEL%
 }}}

-- 
Ticket URL: <http://buildbot.net/trac/ticket/788#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list