We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8980826 + aed132c commit cf2de54Copy full SHA for cf2de54
pythonforandroid/recipe.py
@@ -293,6 +293,14 @@ def get_build_dir(self, arch):
293
return join(self.get_build_container_dir(arch), self.name)
294
295
def get_recipe_dir(self):
296
+ """
297
+ Returns the local recipe directory or defaults to the core recipe
298
+ directory.
299
300
+ if self.ctx.local_recipes is not None:
301
+ local_recipe_dir = join(self.ctx.local_recipes, self.name)
302
+ if exists(local_recipe_dir):
303
+ return local_recipe_dir
304
return join(self.ctx.root_dir, 'recipes', self.name)
305
306
# Public Recipe API to be subclassed if needed
0 commit comments