Skip to content

Commit 29d97bc

Browse files
committed
remove build dir before copying for IncludedFilesBehaviour
1 parent 5ed46a7 commit 29d97bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pythonforandroid/recipe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ def prepare_build_dir(self, arch):
591591
if self.src_filename is None:
592592
print('IncludedFilesBehaviour failed: no src_filename specified')
593593
exit(1)
594+
shprint(sh.rm, '-rf', self.get_build_dir(arch))
594595
shprint(sh.cp, '-a', join(self.get_recipe_dir(), self.src_filename),
595596
self.get_build_dir(arch))
596597

0 commit comments

Comments
 (0)