Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions download/lib
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function github_download() {
else
local url="https://github.com/${github_user}/${github_repo}/archive/${github_branch}.tar.gz"
log "info" "Downloading \"${url}\" to \"${dst_path}/${dst_name}\"..."
# shellcheck disable=SC2128
curl -sSL "${curl_opts}" "${url}" | tar -vxz -C "${dst_path}" "${tar_opts}" "${github_repo}-${github_branch}/${github_path}"
# shellcheck disable=SC2128 disable=SC2086
curl -sSL ${curl_opts} "${url}" | tar -vxz -C "${dst_path}" ${tar_opts} "${github_repo}-${github_branch}/${github_path}"
fi
}