diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py index f9961e424..c42228e1e 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', self.m.path['git_cache']], + ['--git-cache-dir', cfg.cache_dir], # 3. How to find the patch, if any (issue/patchset/patch_url). ['--issue', issue],