diff options
author | Guido Günther <agx@sigxcpu.org> | 2021-10-28 09:34:54 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2021-10-28 09:34:54 +0200 |
commit | e6c86c1ab3dc4ba59dcf920e276790b1c6e9571d (patch) | |
tree | 0c729d42837bda4b730c0def4aaf571e86ab2d41 /gbp/scripts/buildpackage.py | |
parent | a79c1d3837a5094bd3c46063dcd37fee141998b1 (diff) |
buildpackage: Map 'debian/latest' and 'debian/main' to sid too
This avoids having to specify a suite with more modern common branch
names.
Diffstat (limited to 'gbp/scripts/buildpackage.py')
-rwxr-xr-x | gbp/scripts/buildpackage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage.py b/gbp/scripts/buildpackage.py index 74f2c5bf..f8677181 100755 --- a/gbp/scripts/buildpackage.py +++ b/gbp/scripts/buildpackage.py @@ -212,7 +212,7 @@ def get_pbuilder_dist(options, repo, native=False): if len(parts) == 2: # e.g. debian/stretch suite = parts[1] if vendor == parts[0]: - dist = '' if suite in ['sid', 'master'] else suite + dist = '' if suite in ['sid', 'master', 'main', 'latest'] else suite else: dist = '%s_%s' % (parts[0], suite) # Branches in Debian often omit the debian/ prefix |