aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-10-19 13:47:50 +0200
committerGuido Günther <agx@sigxcpu.org>2016-10-19 13:47:50 +0200
commita35d7d6034947bcb453fe0b4132769f5688a9c84 (patch)
treeac4eb38d4ae42831ffc22b00ce48886052eff57a /gbp
parent04c158cf11786730904d5af412eaa2321cb26853 (diff)
buildpackage: handle <vendor>/master
Diffstat (limited to 'gbp')
-rwxr-xr-xgbp/scripts/buildpackage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage.py b/gbp/scripts/buildpackage.py
index c5cd87a4..4641ae2c 100755
--- a/gbp/scripts/buildpackage.py
+++ b/gbp/scripts/buildpackage.py
@@ -412,7 +412,7 @@ def get_pbuilder_dist(options, repo, native=False):
vendor = du.get_vendor().lower()
suite = parts[1]
if vendor == parts[0]:
- dist = '' if suite == 'sid' else suite
+ dist = '' if suite in ['sid', 'master'] else suite
else:
dist = '%s_%s' % (parts[0], suite)
elif len(parts) == 1 and native and branch in ['master', 'sid']: