8000 allow local_recipes with a relative path · modulexcite/python-for-android@a621211 · GitHub
[go: up one dir, main page]

Skip to content

Commit a621211

Browse files
committed
allow local_recipes with a relative path
local_recipes were only working if an absolute path was given
1 parent 058fc8f commit a621211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def has_libs(self, arch, *libs):
580580
def recipe_dirs(cls, ctx):
581581
recipe_dirs = []
582582
if ctx.local_recipes is not None:
583-
recipe_dirs.append(ctx.local_recipes)
583+
recipe_dirs.append(realpath(ctx.local_recipes))
584584
if ctx.storage_dir:
585585
recipe_dirs.append(join(ctx.storage_dir, 'recipes'))
586586
recipe_dirs.append(join(ctx.root_dir, "recipes"))

0 commit comments

Comments
 (0)
0