Mercurial > treepkg > treepkg
comparison 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 |
comparison
equal
deleted
inserted
replaced
148:25d4949ac2d8 | 149:4526105f81a7 |
---|---|
204 self.logfile = logfile | 204 self.logfile = logfile |
205 | 205 |
206 def package(self): | 206 def package(self): |
207 self.status.creating_binary_package() | 207 self.status.creating_binary_package() |
208 util.ensure_directory(self.binary_dir) | 208 util.ensure_directory(self.binary_dir) |
209 util.ensure_directory(self.log_dir) | |
209 logging.info("Building binary package; logging to %r", self.logfile) | 210 logging.info("Building binary package; logging to %r", self.logfile) |
210 self.track.builder.build(self.dsc_file, self.binary_dir, self.logfile) | 211 self.track.builder.build(self.dsc_file, self.binary_dir, self.logfile) |
211 self.status.binary_package_created() | 212 self.status.binary_package_created() |
212 | 213 |
213 | 214 |