Skip to content

Commit 7a0bf03

Browse files
committed
[dist] Fix Recipe.clean_build for Recipe
1 parent 759475c commit 7a0bf03

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
@@ -619,7 +619,9 @@ def clean_build(self, arch=None):
619619
620620
'''
621621
if arch is None:
622-
base_dir = join(self.ctx.build_dir, 'other_builds', self.name)
622+
base_dir = join(
623+
self.ctx.build_dir, 'other_builds', self.get_dir_name()
624+
)
623625
else:
624626
base_dir = self.get_build_container_dir(arch)
625627
dirs = glob.glob(base_dir + '-*')

0 commit comments

Comments
 (0)