diff --git a/buildbot/scripts/runner.py b/buildbot/scripts/runner.py
index 1b66681..d8259c4 100644
|
a
|
b
|
configfile = r'%(config)s' |
| 361 | 361 | rotateLength = %(log-size)s |
| 362 | 362 | maxRotatedFiles = %(log-count)s |
| 363 | 363 | |
| | 364 | # Sometimes the working directory is not writeable, so we check, then |
| | 365 | # explicitly use basedir if there are problems |
| | 366 | import os |
| | 367 | wd=os.getcwd() |
| | 368 | if not os.access(wd, os.W_OK): |
| | 369 | print "%s not writeable. Changing to %s." % (wd, basedir) |
| | 370 | os.chdir(basedir) |
| 364 | 371 | application = service.Application('buildmaster') |
| 365 | 372 | try: |
| 366 | 373 | from twisted.python.logfile import LogFile |