]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
intl: stop using fgrep for exgettext
authorXi Ruoyao <xry111@xry111.site>
Fri, 24 Jun 2022 06:27:18 +0000 (14:27 +0800)
committerXi Ruoyao <xry111@xry111.site>
Sat, 25 Jun 2022 03:53:52 +0000 (11:53 +0800)
fgrep has been deprecated in favor of grep -F for a long time, and the
next grep release (3.8 or 4.0) will print a warning of fgrep is used.
And, the fgrep command in exgettext is no longer useful after we
migrated from SVN to Git.  Remove the fgrep command so we won't see the
warning.

gcc/po/ChangeLog:

* exgettext: Remove unneeded fgrep command.

gcc/po/exgettext

index 95cb0e755549195e83686870d09153af78b2b705..43b2e81bd2433e1daf5a8a53153d69a753df7afd 100644 (file)
@@ -99,7 +99,7 @@ echo "scanning for keywords, %e and %n strings..." >&2
   lang_subdirs=`echo */config-lang.in */*/config-lang.in | sed -e 's|/config-lang\.in||g'`
   { for dir in "" c-family/ common/ common/config/ common/config/*/ \
       config/ config/*/ \
-      `find $lang_subdirs -type d -print | fgrep -v .svn | sort | sed -e 's|$|/|'`
+      `find $lang_subdirs -type d -print | sort | sed -e 's|$|/|'`
     do  for glob in '*.c' '*.cc' '*.h' '*.def'
         do  eval echo $dir$glob
         done