Skip to content

Commit

Permalink
Merge pull request #15900 from clint-stripe/clint/homebrew-curlrc-ven…
Browse files Browse the repository at this point in the history
…dor-install

Use HOMEBREW_CURLRC in vendor-install
  • Loading branch information
MikeMcQuaid authored Aug 23, 2023
2 parents bc5fce2 + e75a72d commit 3c8b494
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/Homebrew/cmd/vendor-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c8b494

Please sign in to comment.