mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
Install add-patch link and use it in sponsor-patch.
This commit is contained in:
parent
1ef75a1a23
commit
6348bc3df1
1
debian/links
vendored
1
debian/links
vendored
@ -1,2 +1,3 @@
|
||||
/usr/bin/edit-patch /usr/bin/add-patch
|
||||
/usr/bin/pbuilder-dist /usr/bin/cowbuilder-dist
|
||||
/usr/share/man/man1/pbuilder-dist.1.gz /usr/share/man/man1/cowbuilder-dist.1.gz
|
||||
|
@ -195,9 +195,7 @@ def apply_patch(task, patch):
|
||||
ask_for_manual_fixing()
|
||||
edit = True
|
||||
else:
|
||||
# FIXME: edit-patch needs a non-interactive mode
|
||||
# https://launchpad.net/bugs/612566
|
||||
cmd = ["edit-patch", patch.full_path]
|
||||
cmd = ["add-patch", patch.full_path]
|
||||
Logger.command(cmd)
|
||||
if subprocess.call(cmd) != 0:
|
||||
Logger.error("Failed to apply diff %s to %s %s." % \
|
||||
|
Loading…
x
Reference in New Issue
Block a user