summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-07-27 16:49:19 +0100
committerLars Wirzenius <liw@liw.fi>2011-07-27 16:49:19 +0100
commit96fb2740bd24a1100a69a6ee42a14e8d26d605e5 (patch)
tree77afe46de59902b5f6969604b3f6bb4d08fefe94
parent147387e8b027a7702c5e500317e3a4b5c9c16170 (diff)
downloadliw-automation-96fb2740bd24a1100a69a6ee42a14e8d26d605e5.tar.gz
Fix how othermirrors are added to argv (there can now be many).
-rwxr-xr-xscripts/pbuilder-create4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pbuilder-create b/scripts/pbuilder-create
index 4b18df2..c118b15 100755
--- a/scripts/pbuilder-create
+++ b/scripts/pbuilder-create
@@ -77,9 +77,9 @@ class PbuilderCreate(cliapp.Application):
'--basetgz', tgz,
'--logfile', tgz + '.log']
if othermirror:
- argv += ['--othermirror', othermirror]
+ argv += ['--othermirror=%s' % x for x in othermirror]
if self.settings['verbose']:
- print ' '. join(argv)
+ print ' '.join(argv)
if self.settings['no-act']:
return
self.runcmd(argv)