scripts: Do not create backup files when patching
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 31 12:07:44 2010 +0100 (2010-01-31)
changeset 176593cb44d28002
parent 1764 e4d145e75e54
child 1776 6144097af955
scripts: Do not create backup files when patching

Some patches may apply with offset and/or fuzz, and would leave .orig files.
scripts/functions
     1.1 --- a/scripts/functions	Sat Jan 30 16:19:50 2010 +0100
     1.2 +++ b/scripts/functions	Sun Jan 31 12:07:44 2010 +0100
     1.3 @@ -768,7 +768,7 @@
     1.4              for p in "${d}"/*.patch; do
     1.5                  if [ -f "${p}" ]; then
     1.6                      CT_DoLog DEBUG "Applying patch '${p}'"
     1.7 -                    CT_DoExecLog ALL patch -g0 -F1 -p1 -f <"${p}"
     1.8 +                    CT_DoExecLog ALL patch --no-backup-if-mismatch -g0 -F1 -p1 -f <"${p}"
     1.9                  fi
    1.10              done
    1.11              if [ "${CT_PATCH_SINGLE}" = "y" ]; then