diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-05-29 11:22:09 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-05-29 11:22:09 +0100 |
commit | e2ad49686f5c2dd4983fd62d39bec01b0a693c69 (patch) | |
tree | 76a8cba0051d8c3ef09619f872d1dce52aba09b0 | |
parent | c9a8bd71c5cb238dba9a1004d13ac56131d8e55d (diff) | |
download | unperish-e2ad49686f5c2dd4983fd62d39bec01b0a693c69.tar.gz |
Don't put pbuilder results in a different directory.
pbuilder re-creates the source package, so the one we create is
not suitable for upload, because pbuilder puts its own into the
.changes file. So we overwrite the one we create with pbuilder's.
(No idea why pbuilder does that, but that's life with pbuilder.)
-rwxr-xr-x | unperish | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -83,14 +83,12 @@ class Unperish(cliapp.Application): cwd=self.settings['build-area']) def cmd_deb(self, args): - buildresult = self.join('buildresult') - os.mkdir(buildresult) dsc = glob.glob(self.join('*.dsc'))[0] argv = ['sudo', 'pbuilder', '--build', '--basetgz', self.settings['basetgz'], - '--buildresult', buildresult, + '--buildresult', self.settings['build-area'], '--logfile', self.join('pbuilder.log'), dsc] self.runcmd(*argv, cwd=self.settings['build-area']) |