diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-06-24 14:27:18 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-06-25 11:53:52 +0800 |
commit | 476ef855d08db02a027150ea92611c1626ea7350 (patch) | |
tree | afd686a6fc1e69fc42b222702d6c169291eab6d9 | |
parent | 84c2131d2c596ddf90500b3f0ad4aa43abe650f2 (diff) | |
download | gcc-476ef855d08db02a027150ea92611c1626ea7350.zip gcc-476ef855d08db02a027150ea92611c1626ea7350.tar.gz gcc-476ef855d08db02a027150ea92611c1626ea7350.tar.bz2 |
intl: stop using fgrep for exgettext
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.
-rw-r--r-- | gcc/po/exgettext | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/po/exgettext b/gcc/po/exgettext index 95cb0e7..43b2e81 100644 --- a/gcc/po/exgettext +++ b/gcc/po/exgettext @@ -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 |