mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
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:
parent
f85bc044e5
commit
d391ee10a0
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user