Update binaries

Fix a showing error for grep --help on OpenBSD.

Discovered by me, fixed by  @mboelen
This commit is contained in:
gonzalo 2024-05-04 07:52:47 +02:00 committed by GitHub
parent 967b9f1ec7
commit aec1f59432
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@
# If grep is capable of extended regexp, use that instead of egrep to avoid annoying warning
if [ "${GREPBINARY:-}" ] ; then
${GREPBINARY} --help | ${GREPBINARY} -e "extended-regexp" > /dev/null
${GREPBINARY} --help 2> /dev/null | ${GREPBINARY} -e "extended-regexp" > /dev/null
if [ $? -eq 0 ] ; then
EGREPBINARY="${GREPBINARY} -E"
fi