summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-07-27 16:18:19 +0100
committerLars Wirzenius <liw@liw.fi>2011-07-27 16:18:19 +0100
commit147387e8b027a7702c5e500317e3a4b5c9c16170 (patch)
tree6581c52c4fe18031668ff9b4a62de60accb006f2
parente63ec5a283d2f49090bc3f14be82182d0750e9ab (diff)
downloadliw-automation-147387e8b027a7702c5e500317e3a4b5c9c16170.tar.gz
Set --architecture default correctly to be a list.
-rwxr-xr-xscripts/pbuilder-create2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pbuilder-create b/scripts/pbuilder-create
index fb46c8c..4b18df2 100755
--- a/scripts/pbuilder-create
+++ b/scripts/pbuilder-create
@@ -36,7 +36,7 @@ class PbuilderCreate(cliapp.Application):
arch = self.runcmd(['dpkg', '--print-architecture']).strip()
self.settings.string_list(['arch', 'a'],
'build tgz for ARCH (%default)',
- metavar='ARCH', default=arch)
+ metavar='ARCH', default=[arch])
self.settings.string_list(['othermirror', 'o'],
'also build tgz with pbuilder '
'--othermirror, set to empty to avoid '