export: fix exporting multiple spec files
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 2 Apr 2013 08:14:13 +0000 (11:14 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 2 Apr 2013 08:14:13 +0000 (11:14 +0300)
commit8e72b2f1a121a9fcfcf4f6a48fdcf2e9aa9e704b
treebcabb33ce59cfbb0687965a6736956f82792d81c
parent586921572d7b88900739a288f697db097f7b55f8
export: fix exporting multiple spec files

We need to use the 'force-create' option of gbp. Otherwise gbp will
return an error if pristine-tar checkout fails (pristine-tar branch is
found but the tarball is not committed there), as gbs uses the
'pristine-tar' option.

For subsequent spec files, use the 'no-create-orig' option of gbp to
prevent re-creation of tarballs.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gitbuildsys/cmd_export.py