mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
patchutils.py: Add '--no-backup-if-mismatch' when calling 'patch' to avoid creating backups.
This commit is contained in:
parent
d31c55702c
commit
cc5b91441d
2
debian/tools/patchutils.py
vendored
2
debian/tools/patchutils.py
vendored
@ -365,7 +365,7 @@ def apply_patch(content, patches, reverse=False, fuzz=2):
|
||||
for patch in patches:
|
||||
|
||||
patchfile = patch.extract()
|
||||
cmdline = ["patch", "--force", "--silent", "-r", "-"]
|
||||
cmdline = ["patch", "--no-backup-if-mismatch", "--force", "--silent", "-r", "-"]
|
||||
if reverse: cmdline.append("--reverse")
|
||||
if fuzz != 2: cmdline.append("--fuzz=%d" % fuzz)
|
||||
cmdline += [contentfile.name, patchfile.name]
|
||||
|
Loading…
Reference in New Issue
Block a user