TT#24920 Disable the patch fuzzy logic on 'ngcpcfg patch'

We should be as safe as possible here (at least at the beginning)
to prevent 'patch' command patching wrong code parts.

Change-Id: Ide012169bec1f329309baae32fe186fd77cb9592
changes/89/19389/1
Alexander Lutay 8 years ago
parent 051f27f03e
commit 35bfc3118a

@ -118,6 +118,7 @@ patch_apply() {
patch_opts+=(--input="${patch}")
patch_opts+=(--prefix=/dev/null) # do not produce .orig backup files
patch_opts+=(--reject-file=-) # do not produce .rej file
patch_opts+=(-F0 -N) # disable fuzzy logic to be as safe as possible
if "${apply}" ; then
patch_opts+=(--output="${customtt}")
else

Loading…
Cancel
Save