mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-20 14:51:08 +00:00
Work when there's no DEBEMAIL too
This commit is contained in:
parent
024e48dcba
commit
d45bb86bcd
@ -323,7 +323,9 @@ def do_backport(workdir, pkg, suffix, close, release, release_pocket, build,
|
||||
if old_version:
|
||||
cmd.append('-v%s' % old_version)
|
||||
env = os.environ.copy()
|
||||
del env['DEBEMAIL']
|
||||
# An ubuntu.com e-mail address would make dpkg-buildpackage fail if there
|
||||
# wasn't an Ubuntu maintainer for an ubuntu-versioned package. LP: #1007042
|
||||
env.pop('DEBEMAIL', None)
|
||||
check_call(cmd, cwd=srcdir, env=env)
|
||||
|
||||
fn_base = pkg.source + '_' + bp_version.split(':', 1)[-1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user