Skip to content

Commit 04ce654

Browse files
authored
Merge pull request #500 from ratmice/egrep_obsolescent
avoid `egrep` obsolecent warning by switching to `grep -E`.
2 parents dfa34fd + 3682a14 commit 04ce654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/uncrustify/uncrustify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if ! command -v uncrustify >/dev/null; then
1616
do_install=true
1717
else
1818
# Validate uncrustify version
19-
VERSION=$(uncrustify --version | egrep -o '0.[0-9]+[.0-9]*')
19+
VERSION=$(uncrustify --version | grep -E -o '0.[0-9]+[.0-9]*')
2020
if [[ "$VERSION" != $UNCRUSTIFY_VERSION ]]; then
2121
do_install=true
2222
fi

0 commit comments

Comments
 (0)