mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
syncpackage: Print an error message if the source-only build fails (LP: #668749).
This commit is contained in:
parent
7241b30c16
commit
45c8f13d65
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -35,8 +35,9 @@ ubuntu-dev-tools (0.105) UNRELEASED; urgency=low
|
||||
- Don't add quotation marks to changelog entries (LP: #668805).
|
||||
- Show a error message instead of raising an error if Ubuntu contains a
|
||||
newer version.
|
||||
- Print an error message if the source-only build fails (LP: #668749).
|
||||
|
||||
-- Benjamin Drung <bdrung@ubuntu.com> Sat, 30 Oct 2010 20:10:39 +0200
|
||||
-- Benjamin Drung <bdrung@ubuntu.com> Sat, 30 Oct 2010 20:34:55 +0200
|
||||
|
||||
ubuntu-dev-tools (0.104) experimental; urgency=low
|
||||
|
||||
|
@ -372,7 +372,12 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs,
|
||||
cmd += ["-k" + keyid]
|
||||
if verbose:
|
||||
print_command(script_name, cmd)
|
||||
subprocess.check_call(cmd, env=env)
|
||||
returncode = subprocess.call(cmd, env=env)
|
||||
if returncode != 0:
|
||||
print >> sys.stderr, ("%s: Error: Source-only build with debuild "
|
||||
"failed. Please check build log above.") % \
|
||||
(script_name)
|
||||
sys.exit(1)
|
||||
|
||||
def get_debian_dscurl(package, dist, release, version=None, component=None):
|
||||
if dist is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user