mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-04 15:18:05 +01:00
lint: scripted-diff verification also requires GNU grep
This commit is contained in:
parent
71b63195b3
commit
3bf4f8db66
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,11 @@ if ! sed --help 2>&1 | grep -q 'GNU'; then
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! grep --help 2>&1 | grep -q 'GNU'; then
|
||||||
|
echo "Error: the installed grep package is not compatible. Please make sure you have GNU grep installed in your system.";
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
RET=0
|
RET=0
|
||||||
PREV_BRANCH=$(git name-rev --name-only HEAD)
|
PREV_BRANCH=$(git name-rev --name-only HEAD)
|
||||||
PREV_HEAD=$(git rev-parse HEAD)
|
PREV_HEAD=$(git rev-parse HEAD)
|
||||||
|
|
Loading…
Add table
Reference in a new issue