Use HOMEBREW_CURLRC in vendor-install
This commit is contained in:
parent
4564628eaf
commit
e75a72dcb5
@ -111,6 +111,9 @@ fetch() {
|
|||||||
if [[ -z "${HOMEBREW_CURLRC}" ]]
|
if [[ -z "${HOMEBREW_CURLRC}" ]]
|
||||||
then
|
then
|
||||||
curl_args[${#curl_args[*]}]="-q"
|
curl_args[${#curl_args[*]}]="-q"
|
||||||
|
elif [[ "${HOMEBREW_CURLRC}" == /* ]]
|
||||||
|
then
|
||||||
|
curl_args+=("-q" "--config" "${HOMEBREW_CURLRC}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Authorization is needed for GitHub Packages but harmless on GitHub Releases
|
# Authorization is needed for GitHub Packages but harmless on GitHub Releases
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user