aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-10-28 12:40:12 +0100
committerGuido Günther <agx@sigxcpu.org>2018-10-28 12:40:12 +0100
commitcaa586a1650e18232096e530c97b5cbd7cab325e (patch)
tree303f5151f4a6027540db9f3288264816f804714a /gbp
parentce6b1e755fbd999156dbe8c0bf28ccb180641ba2 (diff)
builpackage-rpm: Use GBP_TMP_DIR instead f GBP_BUILD_DIR
This is consistent with --git-post-export and unbreaks tests/component/rpm/test_buildpackage_rpm.py:TestGbpRpm.test_hook_options
Diffstat (limited to 'gbp')
-rw-r--r--gbp/scripts/buildpackage_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index 952ff247..30f27f67 100644
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -540,7 +540,7 @@ def main(argv):
if options.preexport:
RunAtCommand(options.preexport, shell=True,
extra_env={'GBP_GIT_DIR': repo.git_dir,
- 'GBP_BUILD_DIR': export_dir}
+ 'GBP_TMP_DIR': export_dir}
)()
# Move packaging files to final export dir