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:
Benjamin Drung 2022-11-16 18:37:56 +01:00
parent b510dbd91e
commit 096d5612e7

View File

@ -181,7 +181,7 @@ def merge_branch(branch):
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:
cmd.insert(1, "-q")
Logger.debug(' '.join(cmd))