Mercurial > treepkg
changeset 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 | 25d4949ac2d8 |
children | 879a7e391867 |
files | treepkg/packager.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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()