Use HOMEBREW_CURLRC in vendor-install

This commit is contained in:
Clint Harrison 2023-08-22 17:17:43 -04:00
parent 4564628eaf
commit e75a72dcb5

View File

@ -111,6 +111,9 @@ fetch() {
if [[ -z "${HOMEBREW_CURLRC}" ]]
then
curl_args[${#curl_args[*]}]="-q"
elif [[ "${HOMEBREW_CURLRC}" == /* ]]
then
curl_args+=("-q" "--config" "${HOMEBREW_CURLRC}")
fi
# Authorization is needed for GitHub Packages but harmless on GitHub Releases