diff options
Diffstat (limited to 'infra/bots')
-rwxr-xr-x | infra/bots/recipes.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/infra/bots/recipes.py b/infra/bots/recipes.py index fe6589d6f6..d726c68979 100755 --- a/infra/bots/recipes.py +++ b/infra/bots/recipes.py @@ -107,7 +107,9 @@ def parse(repo_root, recipes_cfg_path): raise MalformedRecipesCfg(ex.message, recipes_cfg_path) -GIT = 'git.bat' if sys.platform.startswith(('win', 'cygwin')) else 'git' +_BAT = '.bat' if sys.platform.startswith(('win', 'cygwin')) else '' +GIT = 'git' + _BAT +VPYTHON = 'vpython' + _BAT def _subprocess_call(argv, **kwargs): @@ -208,7 +210,7 @@ def main(): engine_path = checkout_engine(engine_override, repo_root, recipes_cfg_path) return _subprocess_call([ - sys.executable, '-u', + VPYTHON, '-u', os.path.join(engine_path, 'recipes.py')] + args) |