summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-31 11:07:44 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-31 11:07:44 (GMT)
commitb44a9d9e34156050b46ccad0f73b55d3192b0973 (patch)
treefe16d74239e975278d7b30c0de330c96d7fa6660 /scripts/functions
parente46e74546d3f9f89aa0ccf369f434049e62b1620 (diff)
scripts: Do not create backup files when patching
Some patches may apply with offset and/or fuzz, and would leave .orig files.
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index bc3ed0e..18915ee 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -768,7 +768,7 @@ CT_Patch() {
for p in "${d}"/*.patch; do
if [ -f "${p}" ]; then
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
done
if [ "${CT_PATCH_SINGLE}" = "y" ]; then