mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 21:33:08 +00:00
scripts: Do not create backup files when patching
Some patches may apply with offset and/or fuzz, and would leave .orig files.
This commit is contained in:
parent
e46e74546d
commit
b44a9d9e34
@ -768,7 +768,7 @@ CT_Patch() {
|
|||||||
for p in "${d}"/*.patch; do
|
for p in "${d}"/*.patch; do
|
||||||
if [ -f "${p}" ]; then
|
if [ -f "${p}" ]; then
|
||||||
CT_DoLog DEBUG "Applying patch '${p}'"
|
CT_DoLog DEBUG "Applying patch '${p}'"
|
||||||
CT_DoExecLog ALL patch -g0 -F1 -p1 -f <"${p}"
|
CT_DoExecLog ALL patch --no-backup-if-mismatch -g0 -F1 -p1 -f <"${p}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [ "${CT_PATCH_SINGLE}" = "y" ]; then
|
if [ "${CT_PATCH_SINGLE}" = "y" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user