Skip to content

Commit c9d7d0a

Browse files
committed
Merge bitcoin/bitcoin#23635: test: Bump shellcheck version to 0.8.0
5202bd1 test: Bump shellcheck version to 0.8.0 (Hennadii Stepanov) Pull request description: Among [added](https://github.com/koalaman/shellcheck/blob/master/CHANGELOG.md#v080---2021-11-06) rules, SC2295 could be [useful](bitcoin/bitcoin#23506 (comment)) for us. ACKs for top commit: dongcarl: Code Review ACK 5202bd1 fanquake: ACK 5202bd1 - would have rather this just been a part of #23506 to avoid another PR and pointless rebasing. Tree-SHA512: fd7ff801c71af03c5a5b2823b7daba25a430b3ead5e5e50a3663961ee2223e55d322aec91d79999814cd35bd7ed6e9415a0b797718ceb8c0b1dbdbb40c336b82
2 parents aef8c7c + 5202bd1 commit c9d7d0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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 mypy==0.910
1717
${CI_RETRY_EXE} pip3 install pyzmq==22.3.0
1818
${CI_RETRY_EXE} pip3 install vulture==2.3
1919

20-
SHELLCHECK_VERSION=v0.7.2
20+
SHELLCHECK_VERSION=v0.8.0
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}"

contrib/guix/guix-clean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ check_tools cat mkdir make git guix
3434
#
3535
under_dir() {
3636
local path_residue
37-
path_residue="${2##${1}}"
37+
path_residue="${2##"${1}"}"
3838
if [ -z "$path_residue" ] || [ "$path_residue" = "$2" ]; then
3939
return 1
4040
else

0 commit comments

Comments
 (0)