Returns the local recipe directory or defaults to the core recipe directory.
(self)
| 370 | return join(self.get_build_container_dir(arch), self.name) |
| 371 | |
| 372 | def get_recipe_dir(self): |
| 373 | """ |
| 374 | Returns the local recipe directory or defaults to the core recipe |
| 375 | directory. |
| 376 | """ |
| 377 | if self.ctx.local_recipes is not None: |
| 378 | local_recipe_dir = join(self.ctx.local_recipes, self.name) |
| 379 | if exists(local_recipe_dir): |
| 380 | return local_recipe_dir |
| 381 | return join(self.ctx.root_dir, 'recipes', self.name) |
| 382 | |
| 383 | # Public Recipe API to be subclassed if needed |
| 384 |
no outgoing calls