From 96fb2740bd24a1100a69a6ee42a14e8d26d605e5 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 27 Jul 2011 16:49:19 +0100 Subject: Fix how othermirrors are added to argv (there can now be many). --- scripts/pbuilder-create | 4 ++-- 1 file 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) -- cgit v1.2.1