support/scripts/apply-patches.sh: manage uncompression
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 20 May 2020 19:30:45 +0000 (21:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 17 Oct 2020 12:44:05 +0000 (14:44 +0200)
commit35c3a1e6937dc08157075027bf6219157510b2f9
treea613e35f15e9483160a42fe9378f709325f531e2
parent4b44d310e9dafc086dfff0a170277c5d06e8c593
support/scripts/apply-patches.sh: manage uncompression

Extract from bug report:

"Code line 120 to line 128 is to check whether the patch containing
"rename from" and "rename to". But it directly use grep to find,
ignoring the patch may be a tar file or else. It can only work on patch
of textfile form."

Fixes:
 - https://bugs.buildroot.org/show_bug.cgi?id=11931

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/scripts/apply-patches.sh