aboutsummaryrefslogtreecommitdiff
path: root/tools/pre-commit-hook
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pre-commit-hook')
-rwxr-xr-xtools/pre-commit-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pre-commit-hook b/tools/pre-commit-hook
index 994716107..bf245158d 100755
--- a/tools/pre-commit-hook
+++ b/tools/pre-commit-hook
@@ -26,7 +26,7 @@ find . -type f
echo "=== bashate checks ==="
-files=$(egrep -rlI '^#!/(bin/|usr/bin/env )(ba)?sh' .)
+files=$(grep -ErlI '^#!/(bin/|usr/bin/env )(ba)?sh' .)
[ "$files" ] && (bashate $files || RES=1)
echo "=== yaml checks ==="