diff options
author | Jim Meyering <meyering@fb.com> | 2021-10-03 20:06:35 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2021-10-03 20:06:47 -0700 |
commit | 5389f1116ddd47a5b3a74f337152b54133429a92 (patch) | |
tree | 6016503b105101ee7211ad41ac26c32e96a0e091 | |
parent | 524d99612bba84882a46dbc3192a3ff753c2a50e (diff) | |
download | automake-5389f1116ddd47a5b3a74f337152b54133429a92.tar.gz |
maint: don't use obsolescent "egrep"
* maintainer/syntax-checks.mk (sc_perl_local): Use grep -E
in place of "egrep".
-rw-r--r-- | maintainer/syntax-checks.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainer/syntax-checks.mk b/maintainer/syntax-checks.mk index 56f853888..6b7ec020f 100644 --- a/maintainer/syntax-checks.mk +++ b/maintainer/syntax-checks.mk @@ -230,7 +230,7 @@ sc_perl_at_uscore_in_scalar_context: ## Allow only few variables to be localized in automake and aclocal. sc_perl_local: - @if egrep -v '^[ \t]*local \$$[_~]( *=|;)' \ + @if grep -Ev '^[ \t]*local \$$[_~]( *=|;)' \ $(automake_in) $(aclocal_in) | \ grep '^[ \t]*local [^*]'; then \ echo "Please avoid 'local'." 1>&2; \ |