Merge pull request #6865 from scop/patch-1

Use `grep -E` instead of `egrep`
This commit is contained in:
Dave Rodgman 2023-01-16 15:21:24 +00:00 committed by GitHub
commit 461b8254d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ cat doc.out doc.err | \
grep -v "warning: ignoring unsupported tag" \
> doc.filtered
if egrep "(warning|error):" doc.filtered; then
if grep -E "(warning|error):" doc.filtered; then
echo "FAIL" >&2
exit 1;
fi