test: Enable SC2086 shellcheck rule

This commit is contained in:
Hennadii Stepanov committed 2021-11-13 16:54:56 +02:00
1 parent 5cc083cd46
commit 9a1ad7bc0d
20 files changed
+62 -57

No files matched your search

+2 -2
View File
@@ -9,11 +9,11 @@ if ! [[ "$2" =~ ^(git@)?(www.)?github.com(:|/)bitcoin/bitcoin(.git)?$ ]]; then
fi
while read LINE; do
set -- A $LINE
set -- A "$LINE"
if [ "$4" != "refs/heads/master" ]; then
continue
fi
if ! ./contrib/verify-commits/verify-commits.py $3 > /dev/null 2>&1; then
if ! ./contrib/verify-commits/verify-commits.py "$3" > /dev/null 2>&1; then
echo "ERROR: A commit is not signed, can't push"
./contrib/verify-commits/verify-commits.py
exit 1