We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce99898 commit 5fa0c64Copy full SHA for 5fa0c64
shellcheck.sh
@@ -6,7 +6,8 @@ SHELLCHECK=${SHELLCHECK:-shellcheck}
6
if ! "${SHELLCHECK}" -V; then
7
if [[ ! -e SHELLCHECK ]]; then
8
scversion="stable"
9
- curl -L "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv
+ arch=$(uname -m)
10
+ curl -L "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.${arch}.tar.xz" | tar -xJv
11
fi
12
SHELLCHECK="./shellcheck-${scversion}/shellcheck"
13
0 commit comments