mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
tools/check-spelling: Fix grep error on macOS
Changelog-Fixed: Fixes `make full-check` errors on macOS
This commit is contained in:
committed by
Rusty Russell
parent
bbaca4bb5c
commit
0fccfc0a9a
@@ -6,7 +6,7 @@ if git --no-pager grep -nHiE 'l[ightn]{6}g|l[ightn]{8}g|ilghtning|lgihtning|lihg
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if git --no-pager grep -nHiE 'ctlv' | grep -v 'enctlv' -- . ':!tools/check-spelling.sh'; then
|
if git --no-pager grep -nHiEP '(?<!en)ctlv' -- . ':!tools/check-spelling.sh'; then
|
||||||
echo "It's check lock time verify, not check time lock verify!" >&2
|
echo "It's check lock time verify, not check time lock verify!" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user