de-fuzz bash patch

With rpm version < 4.13, patch cmd will create .orig file for fuzzy
patch in default. And this .orig file may lead to rpmbuild failure
"error: Installed (but unpackaged) file(s) found:"

Please visit below link to get more detail info:
https://bugs.launchpad.net/starlingx/+bug/1794611

Story: 2003917
Task: 27041

Change-Id: I506c34ce40c27b9594edc83bfe597b0b8885b319
Signed-off-by: slin14 <shuicheng.lin@intel.com>
This commit is contained in:
slin14 2018-10-11 18:24:59 +08:00
parent 9d1287f97a
commit 55ed65ce4c

View File

@ -62,7 +62,7 @@ diff --git a/sig.c b/sig.c
index 6bd1319..94864fa 100644
--- a/sig.c
+++ b/sig.c
@@ -556,6 +556,19 @@ termsig_handler (sig)
@@ -561,6 +561,19 @@ termsig_handler (sig)
kill (getpid (), sig);
}