diff treepkg/packager.py @ 149:4526105f81a7

Make sure the log dir exists before attempting to run pbuilder build
author Bernhard Herzog <bh@intevation.de>
date Thu, 05 Jun 2008 12:34:55 +0000
parents ddd141e09e8f
children 36004ee0b3a1
line wrap: on
line diff
--- a/treepkg/packager.py	Thu Jun 05 12:13:38 2008 +0000
+++ b/treepkg/packager.py	Thu Jun 05 12:34:55 2008 +0000
@@ -206,6 +206,7 @@
     def package(self):
         self.status.creating_binary_package()
         util.ensure_directory(self.binary_dir)
+        util.ensure_directory(self.log_dir)
         logging.info("Building binary package; logging to %r", self.logfile)
         self.track.builder.build(self.dsc_file, self.binary_dir, self.logfile)
         self.status.binary_package_created()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)