From 0fccfc0a9a6f8edbd113e0280a0669463121fa91 Mon Sep 17 00:00:00 2001 From: Nalin Bhardwaj Date: Mon, 21 Jun 2021 15:32:31 +0530 Subject: [PATCH] tools/check-spelling: Fix grep error on macOS Changelog-Fixed: Fixes `make full-check` errors on macOS --- tools/check-spelling.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check-spelling.sh b/tools/check-spelling.sh index d82a77b2e47c..5090352a726e 100755 --- a/tools/check-spelling.sh +++ b/tools/check-spelling.sh @@ -6,7 +6,7 @@ if git --no-pager grep -nHiE 'l[ightn]{6}g|l[ightn]{8}g|ilghtning|lgihtning|lihg exit 1 fi -if git --no-pager grep -nHiE 'ctlv' | grep -v 'enctlv' -- . ':!tools/check-spelling.sh'; then +if git --no-pager grep -nHiEP '(?&2 exit 1 fi