Index: recipe_modules/bot_update/api.py |
diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py |
index 1b2eec3f388c2937ec5907b625e45e4d5e2c52c5..ccd725efce2ca9b07bad69dd155b8421779cab9b 100644 |
--- a/recipe_modules/bot_update/api.py |
+++ b/recipe_modules/bot_update/api.py |
@@ -143,7 +143,7 @@ class BotUpdateApi(recipe_api.RecipeApi): |
['--spec', spec_string], |
['--root', root], |
['--revision_mapping_file', self.m.json.input(rev_map)], |
- ['--git-cache-dir', cfg.cache_dir], |
+ ['--git-cache-dir', self.m.path['git_cache']], |
# 3. How to find the patch, if any (issue/patchset/patch_url). |
['--issue', issue], |