Skip to content

Commit 3682a14

Browse files
committed
avoid egrep obsolecent warning by switching to grep -E.
1 parent 39f83a8 commit 3682a14

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)