Mercurial > treepkg > treepkg
diff treepkg/packager.py @ 2:e6a9f4037f68
readconfig.py is smarter now about conversions and supports shlex
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 08 Mar 2007 19:55:44 +0100 |
parents | f78a02e79c84 |
children | fee641fec94e |
line wrap: on
line diff
--- a/treepkg/packager.py Tue Mar 06 18:50:53 2007 +0100 +++ b/treepkg/packager.py Thu Mar 08 19:55:44 2007 +0100 @@ -147,14 +147,9 @@ self.status.set("creating_binary_package") util.ensure_directory(self.binary_dir) logging.info("Building binary package; loging to %r", self.logfile) - cmd = [] - if self.plant.root_cmd: - cmd.append(self.plant.root_cmd) - run.call(cmd + ["/usr/sbin/pbuilder", "build", - "--logfile", self.logfile, - "--buildresult", self.binary_dir, - self.dsc_file], - suppress_output=True) + cmd = ["/usr/sbin/pbuilder", "build", "--logfile", self.logfile, + "--buildresult", self.binary_dir, self.dsc_file] + run.call(self.plant.root_cmd + cmd, suppress_output=True) self.status.set("binary_package_created")