From 448bde24dbcaea21d8b769defddf1e5f0eb8ac60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Wed, 3 Aug 2005 20:49:59 +0000 Subject: [PATCH] cleaning work_dir() is done in sourcearchive.py:unpack() with a cleanDir parameter to archive.unpack(). Its useless to do it here... --- pisi/build.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pisi/build.py b/pisi/build.py index c12f21df..1d65db9d 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -142,11 +142,6 @@ class PisiBuild: def unpackSourceArchive(self): ui.info("Unpacking archive...") - - # Before unpack make sure work_dir is clean - if os.path.exists(self.ctx.pkg_work_dir()): - util.clean_dir(self.ctx.pkg_work_dir()) - self.sourceArchive.unpack() ui.info(" unpacked (%s)\n" % self.ctx.pkg_work_dir()) self.setState("unpacked")