Index: recipe_modules/tryserver/api.py |
diff --git a/recipe_modules/tryserver/api.py b/recipe_modules/tryserver/api.py |
index 8bd8df87f94bdfb68e7ad7f91ee0a15f54fec61a..18bf904267ea4ebfd800f7808b6e12707884273e 100644 |
--- a/recipe_modules/tryserver/api.py |
+++ b/recipe_modules/tryserver/api.py |
@@ -100,7 +100,8 @@ class TryserverApi(recipe_api.RecipeApi): |
patch_ref = self.m.properties['patch_ref'] |
patch_dir = self.m.path.mkdtemp('patch') |
- git_setup_py = self.m.path['build'].join('scripts', 'slave', 'git_setup.py') |
+ git_setup_py = self.m.infra_paths['build'].join( |
+ 'scripts', 'slave', 'git_setup.py') |
git_setup_args = ['--path', patch_dir, '--url', patch_repo_url] |
patch_path = patch_dir.join('patch.diff') |