Skip to content

Commit 08f3dbb

Browse files
committed
test: Bump shellcheck version
1 parent e7776e2 commit 08f3dbb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

ci/lint/04_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ ${CI_RETRY_EXE} pip3 install yq
1717
${CI_RETRY_EXE} pip3 install mypy==0.781
1818
${CI_RETRY_EXE} pip3 install vulture==2.3
1919

20-
SHELLCHECK_VERSION=v0.7.1
20+
SHELLCHECK_VERSION=v0.7.2
2121
curl -sL "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
2222
export PATH="/tmp/shellcheck-${SHELLCHECK_VERSION}:${PATH}"

depends/config.site.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if test -z "$enable_zmq" && test -n "@no_zmq@"; then
6262
enable_zmq=no
6363
fi
6464

65-
if test "x@host_os@" = xdarwin; then
65+
if test "@host_os@" = darwin; then
6666
BREW=no
6767
PORT=no
6868
fi

test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Use the `-v` option for verbose output.
262262
|-----------|:----------:|:-------------------------------------------:|--------------
263263
| [`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`
264264
| [`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)
266266
| [`lint-shell.sh`](lint/lint-shell.sh) | [yq](https://github.com/kislyuk/yq) | default | `pip3 install yq`
267267
| [`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`
268268

test/lint/commit-script-check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# one. Any remaining diff signals an error.
1313

1414
export LC_ALL=C
15-
if test "x$1" = "x"; then
15+
if test -z $1; then
1616
echo "Usage: $0 <commit>..."
1717
exit 1
1818
fi
@@ -24,7 +24,7 @@ for commit in $(git rev-list --reverse $1); do
2424
if git rev-list -n 1 --pretty="%s" $commit | grep -q "^scripted-diff:"; then
2525
git checkout --quiet $commit^ || exit
2626
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
2828
echo "Error: missing script for: $commit"
2929
echo "Failed"
3030
RET=1

0 commit comments

Comments
 (0)