mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-21 22:03:45 -07:00
add z for explicit gzip support
This commit is contained in:
parent
e3ca5c86c6
commit
7d76bc38f7
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ uname_arch_check() {
|
|||
untar() {
|
||||
tarball=$1
|
||||
case "${tarball}" in
|
||||
*.tar.gz | *.tgz | *.tar.xz) tar --no-same-owner -xf "${tarball}" ;;
|
||||
*.tar.gz | *.tgz | *.tar.xz) tar --no-same-owner -xzf "${tarball}" ;;
|
||||
*.tar) tar --no-same-owner -xf "${tarball}" ;;
|
||||
*.zip) unzip "${tarball}" ;;
|
||||
*)
|
||||
|
@ -259,4 +259,4 @@ log_info "found version: ${VERSION} for ${TAG}/${OS}/${ARCH}"
|
|||
NAME=${BINARY}-${VERSION}.${OS}.${ARCH}
|
||||
TARBALL=${NAME}.${FORMAT}
|
||||
TARBALL_URL=${GITHUB_DOWNLOAD}/${TAG}/${TARBALL}
|
||||
execute
|
||||
execute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue