# HG changeset patch # User "Yann E. MORIN" # Date 1264936064 -3600 # Node ID 93cb44d28002db15d39deef3ce5ebb1fb590974f # Parent e4d145e75e54f9e28b7d68ae90e459cecf58d1c1 scripts: Do not create backup files when patching Some patches may apply with offset and/or fuzz, and would leave .orig files. diff -r e4d145e75e54 -r 93cb44d28002 scripts/functions --- a/scripts/functions Sat Jan 30 16:19:50 2010 +0100 +++ b/scripts/functions Sun Jan 31 12:07:44 2010 +0100 @@ -768,7 +768,7 @@ 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