mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
sponsor-patch: Use --skip-patches when extract source package
Use `--skip-patches` when extract source packages with `dpkg-source`. `--no-preparation` is a source package build option and `--skip-patches` is the correct extract option. Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
This commit is contained in:
parent
b510dbd91e
commit
096d5612e7
@ -181,7 +181,7 @@ def merge_branch(branch):
|
|||||||
|
|
||||||
|
|
||||||
def extract_source(dsc_file, verbose=False):
|
def extract_source(dsc_file, verbose=False):
|
||||||
cmd = ["dpkg-source", "--no-preparation", "-x", dsc_file]
|
cmd = ["dpkg-source", "--skip-patches", "-x", dsc_file]
|
||||||
if not verbose:
|
if not verbose:
|
||||||
cmd.insert(1, "-q")
|
cmd.insert(1, "-q")
|
||||||
Logger.debug(' '.join(cmd))
|
Logger.debug(' '.join(cmd))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user