share and bin are directories

This commit is contained in:
Sylvain Alborini 2015-02-24 12:52:26 +01:00
parent a2ba422070
commit 5c0938d388

View file

@ -106,8 +106,8 @@ class PythonRecipe(Recipe):
try: try:
print("Remove files unlikely to be used") print("Remove files unlikely to be used")
os.chdir(join(self.ctx.dist_dir, "root", "python")) os.chdir(join(self.ctx.dist_dir, "root", "python"))
sh.rm("share") sh.rm("-rf", "share")
sh.rm("bin") sh.rm("-rf", "bin")
os.chdir(join(self.ctx.dist_dir, "root", "python", "lib")) os.chdir(join(self.ctx.dist_dir, "root", "python", "lib"))
sh.rm("-rf", "pkgconfig") sh.rm("-rf", "pkgconfig")
sh.rm("libpython2.7.a") sh.rm("libpython2.7.a")