Skip to content

Commit d1b3e9a

Browse files
committed
[dist] Fix Recipe.clean_build for Recipe
1 parent c10e51d commit d1b3e9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pythonforandroid/recipe.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,9 @@ def clean_build(self, arch=None):
524524
525525
'''
526526
if arch is None:
527-
base_dir = join(self.ctx.build_dir, 'other_builds', self.name)
527+
base_dir = join(
528+
self.ctx.build_dir, 'other_builds', self.get_dir_name()
529+
)
528530
else:
529531
base_dir = self.get_build_container_dir(arch)
530532
dirs = glob.glob(base_dir + '-*')

0 commit comments

Comments
 (0)