From e75a72dcb5db9d83b292ac5ab2e704b7e016f7e6 Mon Sep 17 00:00:00 2001 From: Clint Harrison Date: Tue, 22 Aug 2023 17:17:43 -0400 Subject: [PATCH] Use HOMEBREW_CURLRC in vendor-install --- Library/Homebrew/cmd/vendor-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/cmd/vendor-install.sh b/Library/Homebrew/cmd/vendor-install.sh index dfa4bc217a..285bf698b1 100644 --- a/Library/Homebrew/cmd/vendor-install.sh +++ b/Library/Homebrew/cmd/vendor-install.sh @@ -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