File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ ${CI_RETRY_EXE} pip3 install yq
17
17
${CI_RETRY_EXE} pip3 install mypy==0.781
18
18
${CI_RETRY_EXE} pip3 install vulture==2.3
19
19
20
- SHELLCHECK_VERSION=v0.7.1
20
+ SHELLCHECK_VERSION=v0.7.2
21
21
curl -sL " https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION} /shellcheck-${SHELLCHECK_VERSION} .linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
22
22
export PATH=" /tmp/shellcheck-${SHELLCHECK_VERSION} :${PATH} "
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ if test -z "$enable_zmq" && test -n "@no_zmq@"; then
62
62
enable_zmq=no
63
63
fi
64
64
65
- if test "x @host_os@" = xdarwin ; then
65
+ if test "@host_os@" = darwin ; then
66
66
BREW=no
67
67
PORT=no
68
68
fi
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ Use the `-v` option for verbose output.
262
262
|-----------|:----------:|:-------------------------------------------:|--------------
263
263
| [ ` lint-python.sh ` ] ( lint/lint-python.sh ) | [ flake8] ( https://gitlab.com/pycqa/flake8 ) | [ 3.8.3] ( https://github.com/bitcoin/bitcoin/pull/19348 ) | ` pip3 install flake8==3.8.3 `
264
264
| [ ` lint-python.sh ` ] ( lint/lint-python.sh ) | [ mypy] ( https://github.com/python/mypy ) | [ 0.781] ( https://github.com/bitcoin/bitcoin/pull/19348 ) | ` pip3 install mypy==0.781 `
265
- | [ ` lint-shell.sh ` ] ( lint/lint-shell.sh ) | [ ShellCheck] ( https://github.com/koalaman/shellcheck ) | [ 0.7.1 ] ( https://github.com/bitcoin/bitcoin/pull/19348 ) | [ details...] ( https://github.com/koalaman/shellcheck#installing )
265
+ | [ ` lint-shell.sh ` ] ( lint/lint-shell.sh ) | [ ShellCheck] ( https://github.com/koalaman/shellcheck ) | [ 0.7.2 ] ( https://github.com/bitcoin/bitcoin/pull/21749 ) | [ details...] ( https://github.com/koalaman/shellcheck#installing )
266
266
| [ ` lint-shell.sh ` ] ( lint/lint-shell.sh ) | [ yq] ( https://github.com/kislyuk/yq ) | default | ` pip3 install yq `
267
267
| [ ` lint-spelling.sh ` ] ( lint/lint-spelling.sh ) | [ codespell] ( https://github.com/codespell-project/codespell ) | [ 2.0.0] ( https://github.com/bitcoin/bitcoin/pull/20817 ) | ` pip3 install codespell==2.0.0 `
268
268
Original file line number Diff line number Diff line change 12
12
# one. Any remaining diff signals an error.
13
13
14
14
export LC_ALL=C
15
- if test " x $1 " = " x " ; then
15
+ if test -z $1 ; then
16
16
echo " Usage: $0 <commit>..."
17
17
exit 1
18
18
fi
@@ -24,7 +24,7 @@ for commit in $(git rev-list --reverse $1); do
24
24
if git rev-list -n 1 --pretty=" %s" $commit | grep -q " ^scripted-diff:" ; then
25
25
git checkout --quiet $commit ^ || exit
26
26
SCRIPT=" $( git rev-list --format=%b -n1 $commit | sed ' /^-BEGIN VERIFY SCRIPT-$/,/^-END VERIFY SCRIPT-$/{//!b};d' ) "
27
- if test " x $SCRIPT " = " x " ; then
27
+ if test -z " $SCRIPT " ; then
28
28
echo " Error: missing script for: $commit "
29
29
echo " Failed"
30
30
RET=1
You can’t perform that action at this time.
0 commit comments