diff options
-rwxr-xr-x | scripts/pbuilder-create | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pbuilder-create b/scripts/pbuilder-create index c118b15..a074607 100755 --- a/scripts/pbuilder-create +++ b/scripts/pbuilder-create @@ -76,8 +76,8 @@ class PbuilderCreate(cliapp.Application): '--distribution', release, '--basetgz', tgz, '--logfile', tgz + '.log'] - if othermirror: - argv += ['--othermirror=%s' % x for x in othermirror] + for x in othermirror or []: + argv += ['--othermirror', x] if self.settings['verbose']: print ' '.join(argv) if self.settings['no-act']: |