POSIX says fgrep is obsolescent and grep -F should be used instead.

fixincludes/ChangeLog:

        * genfixes: Use grep -F instead of fgrep.
---

OK for trunk?

 fixincludes/genfixes | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fixincludes/genfixes b/fixincludes/genfixes
index 47aad01289d3..d2cbb50c39b6 100755
--- a/fixincludes/genfixes
+++ b/fixincludes/genfixes
@@ -58,7 +58,7 @@ done
 AG="autogen $AG"
 set -e
 
-if [ -z "`${AG} -v | fgrep ' 5.'`" ]
+if [ -z "`${AG} -v | grep -F ' 5.'`" ]
 then
   echo "AutoGen appears to be out of date or not correctly installed."
   echo "Please download and install from:"
-- 
2.51.0

Reply via email to