summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-09-21 11:26:34 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-09-21 11:32:29 +0300
commit7ee1dae099d2ab7f3627122400889d0592e99d6f (patch)
tree104e96420598ebd351794bd39cb6036c4739b64e
parent9ffc8fc96f45df881d06a7ca8d81c374e6305cf0 (diff)
downloadgit-buildpackage-7ee1dae099d2ab7f3627122400889d0592e99d6f.tar.gz
git-buildpackage-7ee1dae099d2ab7f3627122400889d0592e99d6f.tar.bz2
git-buildpackage-7ee1dae099d2ab7f3627122400889d0592e99d6f.zip
Add a missing if statement accidentally removed
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xgbp/scripts/buildpackage_rpm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index 9717bc4d..cc4466c1 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -477,6 +477,7 @@ def main(argv):
setup_builder(options, builder_args)
# Generate patches, if requested
+ if options.patch_export and not is_native(repo, options):
export_patches(repo, spec, tree, options)
# Prepare final export dirs