From 5c0938d388044c07799a36042ffa7b246bbd2e9e Mon Sep 17 00:00:00 2001 From: Sylvain Alborini Date: Tue, 24 Feb 2015 12:52:26 +0100 Subject: [PATCH] share and bin are directories --- recipes/python/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/python/__init__.py b/recipes/python/__init__.py index 4c5d674..74419b3 100644 --- a/recipes/python/__init__.py +++ b/recipes/python/__init__.py @@ -106,8 +106,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")