build öncesi work ve install klasörleri temizlensin...

This commit is contained in:
S.Çağlar Onur
2005-08-03 14:25:46 +00:00
parent 0f833edc0c
commit 69c15c114f
+4
View File
@@ -103,6 +103,10 @@ class PisiBuild:
"""Build the package in one shot.""" """Build the package in one shot."""
ui.info("Building PISI source package: %s\n" % self.spec.source.name) ui.info("Building PISI source package: %s\n" % self.spec.source.name)
# remove the work/install directory before the build process
if os.path.exists(self.ctx.pkg_dir()):
util.clean_dir(self.ctx.pkg_dir())
self.fetchSourceArchive() self.fetchSourceArchive()