diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-19 16:52:38 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-19 16:52:38 +0100 |
commit | f21a8165f3a3e154e96f05c84576e75543ae702c (patch) | |
tree | 31f8c7bc88a132aa84d4538207a860c6e04dee9d | |
parent | 15310f7ccf01137fd9f2212ddd3951f35c7fd6df (diff) | |
download | unperish-f21a8165f3a3e154e96f05c84576e75543ae702c.tar.gz |
Add --binary-arch option.
-rwxr-xr-x | unperish | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -69,6 +69,9 @@ class Unperish(cliapp.Application): metavar='LOCATION') self.settings.choice(['full-source'], ['auto', 'yes', 'no'], 'include full source in upload?') + self.settings.boolean(['binary-arch'], + 'build arch-specific packages only, ' + 'not arch:all') def process_args(self, args): self.meta = self.create_meta() @@ -228,6 +231,8 @@ class Unperish(cliapp.Application): '--logfile', self.join('pbuilder.log')] if self.include_source(): argv.extend(['--debbuildopts', '-sa']) + if self.settings['binary-arch']: + argv.append('--binary-arch') argv.append(self.join(self.dsc)) self.runcmd(argv, cwd=self.settings['build-area']) |