From b44a9d9e34156050b46ccad0f73b55d3192b0973 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 31 Jan 2010 12:07:44 +0100 Subject: scripts: Do not create backup files when patching Some patches may apply with offset and/or fuzz, and would leave .orig files. 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 -- cgit v0.10.2-6-g49f6