test: when stripping binaries, ignore case in suppressing "File format not recognized"

The grep -v matches all lowercase, but "file" is captialized; just ignore case so
it's suppressed for either all lowercase or capital File.
This commit is contained in:
Dan Streetman 2019-07-13 13:29:48 -04:00
parent f85bc044e5
commit d391ee10a0

View File

@ -642,7 +642,7 @@ strip_binaries() {
ddebug "Strip binaries"
find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | \
xargs strip --strip-unneeded |& \
grep -v 'file format not recognized' | \
grep -vi 'file format not recognized' | \
ddebug
}