aboutsummaryrefslogtreecommitdiff
path: root/gbp/scripts/buildpackage.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-01-29 09:43:40 +0100
committerGuido Günther <agx@sigxcpu.org>2016-01-29 09:58:28 +0100
commit36893cb72723dca2ebb08b789add4d66e4cc6bcd (patch)
tree83498ddb97a1be278bfe24af88dd0af4fd7d830b /gbp/scripts/buildpackage.py
parent2cc710df32dd4f18c81e5ce79ba1b049684bb499 (diff)
buildpackage: make sure hook_vars is always available.
--tag-only uses different code paths so far only covered by the external test suite. Add a component test to fix that.
Diffstat (limited to 'gbp/scripts/buildpackage.py')
-rwxr-xr-xgbp/scripts/buildpackage.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/scripts/buildpackage.py b/gbp/scripts/buildpackage.py
index 99d3a93..a29ba77 100755
--- a/gbp/scripts/buildpackage.py
+++ b/gbp/scripts/buildpackage.py
@@ -578,6 +578,7 @@ def main(argv):
prefix = "git-"
source = None
branch = None
+ hook_env = {}
options, gbp_args, dpkg_args = parse_args(argv, prefix)