Ticket #456: msys.patch

File msys.patch, 546 bytes (added by even, 11 years ago)

Correct the bug.

  • buildbot/slave/commands.py

     
    405405
    406406        # $PWD usually indicates the current directory; spawnProcess may not
    407407        # update this value, though, so we set it explicitly here.
    408         self.environ['PWD'] = os.path.abspath(self.workdir)
     408        if not self.environ.get('MACHTYPE', None) == 'i686-pc-msys':
     409            self.environ['PWD'] = os.path.abspath(self.workdir)
    409410
    410411        # self.stdin is handled in ShellCommandPP.connectionMade
    411412