cleaning work_dir() is done in sourcearchive.py:unpack() with a

cleanDir parameter to archive.unpack(). Its useless
to do it here...
This commit is contained in:
Barış Metin
2005-08-03 20:49:59 +00:00
parent 53cbccf977
commit 448bde24db
-5
View File
@@ -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")