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:29:45 +0300
commitb7a0e88aeee47b37f945c9f875c4ed588af18ed0 (patch)
tree7be98be4534a69d2a7a3ff9f18949e13bd4f7c12
parent8f478e5504dd593c86b64da9f2f3a502d7e4825c (diff)
downloadgit-buildpackage-release-for-gbsV0.10.tar.gz
git-buildpackage-release-for-gbsV0.10.tar.bz2
git-buildpackage-release-for-gbsV0.10.zip
Add a missing if statement accidentally removedrelease-for-gbsV0.10
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