summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-05-29 11:22:09 +0100
committerLars Wirzenius <liw@liw.fi>2011-05-29 11:22:09 +0100
commite2ad49686f5c2dd4983fd62d39bec01b0a693c69 (patch)
tree76a8cba0051d8c3ef09619f872d1dce52aba09b0
parentc9a8bd71c5cb238dba9a1004d13ac56131d8e55d (diff)
downloadunperish-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-xunperish4
1 files changed, 1 insertions, 3 deletions
diff --git a/unperish b/unperish
index 2404419..545be1a 100755
--- a/unperish
+++ b/unperish
@@ -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'])