mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-10 17:01:41 +08:00
Use grep -E
instead of egrep
`egrep` has been deprecated in GNU grep since 2007, and since 3.8 it emits obsolescence warnings: https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1 Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
This commit is contained in:
parent
b4b0bb737d
commit
66edfe45f5
@ -35,7 +35,7 @@ cat doc.out doc.err | \
|
|||||||
grep -v "warning: ignoring unsupported tag" \
|
grep -v "warning: ignoring unsupported tag" \
|
||||||
> doc.filtered
|
> doc.filtered
|
||||||
|
|
||||||
if egrep "(warning|error):" doc.filtered; then
|
if grep -E "(warning|error):" doc.filtered; then
|
||||||
echo "FAIL" >&2
|
echo "FAIL" >&2
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user