diff --git a/recipes/python/__init__.py b/recipes/python/__init__.py index b51757a..0c40576 100644 --- a/recipes/python/__init__.py +++ b/recipes/python/__init__.py @@ -113,8 +113,8 @@ class PythonRecipe(Recipe): try: print("Remove files unlikely to be used") os.chdir(join(self.ctx.dist_dir, "root", "python")) - sh.rm("share") - sh.rm("bin") + sh.rm("-rf", "share") + sh.rm("-rf", "bin") os.chdir(join(self.ctx.dist_dir, "root", "python", "lib")) sh.rm("-rf", "pkgconfig") sh.rm("libpython2.7.a")