add how to set HOMEBREW_CURL

This commit is contained in:
hyuraku 2021-04-26 21:56:27 +09:00
parent 51c39c898f
commit 61076c7c26

View File

@ -119,6 +119,7 @@ fetch() {
else else
if [[ -f "${temporary_path}" ]] if [[ -f "${temporary_path}" ]]
then then
# HOMEBREW_CURL is set by brew.sh (and isn't mispelt here)
# shellcheck disable=SC2153 # shellcheck disable=SC2153
"${HOMEBREW_CURL}" "${curl_args[@]}" -C - "${VENDOR_URL}" -o "${temporary_path}" "${HOMEBREW_CURL}" "${curl_args[@]}" -C - "${VENDOR_URL}" -o "${temporary_path}"
if [[ $? -eq 33 ]] if [[ $? -eq 33 ]]