[Buildbot-commits] [djmitche/buildbot] 19208e: on windows, use a *.EXE command, if available

noreply at github.com noreply at github.com
Fri Apr 9 22:54:43 UTC 2010


Branch: refs/heads/master
Home:   http://github.com/djmitche/buildbot

Commit: 19208e621acff19c598d2579ca7264fd1ec6ae2b
    http://github.com/djmitche/buildbot/commit/19208e621acff19c598d2579ca7264fd1ec6ae2b
Author: Tobias Oberstein <tobias.oberstein at tavendo.de>
Date:   2010-04-09 (Fri, 09 Apr 2010)

Changed paths:
  M buildbot/slave/commands/utils.py

Log Message:
-----------
on windows, use a *.EXE command, if available

Under windows, if there is more than one executable "thing"
that matches (e.g. *.bat, *.cmd and *.exe), we not just use
the first in alphabet (*.bat/*.cmd) if there is a *.exe.

e.g. under MSysGit/Windows, there is both a git.cmd and a
git.exe on path, but we want the git.exe, since the git.cmd
does not seem to work properly with regard to errors raised
and catched in buildbot slave command (vcs.py). The git.cmd
will always appear to return without error. But the Git()
sourcing step depends on errors for fallbacks.






More information about the Commits mailing list