From 35bfc3118a0ca99987835388f89c82a630bc43d9 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 28 Feb 2018 10:39:14 +0100 Subject: [PATCH] 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 --- scripts/patch | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/patch b/scripts/patch index 40a47836..023b320d 100755 --- a/scripts/patch +++ b/scripts/patch @@ -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