Skip to content

Commit

Permalink
autotools.eclass: egrep -> grep -E
Browse files Browse the repository at this point in the history
Deprecated for a while but newer grep emits deprecation warnings.

Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed May 16, 2022
1 parent fe66830 commit f9a50f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/autotools.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ _at_uses_pkg() {
for macro ; do
args+=( -e "^[[:space:]]*${macro}\>" )
done
egrep -q "${args[@]}" configure.??
grep -E -q "${args[@]}" configure.??
fi
}
_at_uses_autoheader() { _at_uses_pkg A{C,M}_CONFIG_HEADER{S,}; }
Expand Down

0 comments on commit f9a50f8

Please sign in to comment.