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:
Yann E. MORIN" 2010-01-31 12:07:44 +01:00
parent e46e74546d
commit b44a9d9e34

View File

@ -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