From e2ad49686f5c2dd4983fd62d39bec01b0a693c69 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 29 May 2011 11:22:09 +0100 Subject: 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.) --- unperish | 4 +--- 1 file changed, 1 insertion(+), 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']) -- cgit v1.2.1