mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 19:37:27 -03:00
test: Bump shellcheck version to 0.8.0
This commit is contained in:
parent
c5712d172e
commit
5202bd1dc0
2 changed files with 2 additions and 2 deletions
|
@ -17,6 +17,6 @@ ${CI_RETRY_EXE} pip3 install mypy==0.910
|
||||||
${CI_RETRY_EXE} pip3 install pyzmq==22.3.0
|
${CI_RETRY_EXE} pip3 install pyzmq==22.3.0
|
||||||
${CI_RETRY_EXE} pip3 install vulture==2.3
|
${CI_RETRY_EXE} pip3 install vulture==2.3
|
||||||
|
|
||||||
SHELLCHECK_VERSION=v0.7.2
|
SHELLCHECK_VERSION=v0.8.0
|
||||||
curl -sL "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
|
curl -sL "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
|
||||||
export PATH="/tmp/shellcheck-${SHELLCHECK_VERSION}:${PATH}"
|
export PATH="/tmp/shellcheck-${SHELLCHECK_VERSION}:${PATH}"
|
||||||
|
|
|
@ -34,7 +34,7 @@ check_tools cat mkdir make git guix
|
||||||
#
|
#
|
||||||
under_dir() {
|
under_dir() {
|
||||||
local path_residue
|
local path_residue
|
||||||
path_residue="${2##${1}}"
|
path_residue="${2##"${1}"}"
|
||||||
if [ -z "$path_residue" ] || [ "$path_residue" = "$2" ]; then
|
if [ -z "$path_residue" ] || [ "$path_residue" = "$2" ]; then
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue