Merge pull request #15900 from clint-stripe/clint/homebrew-curlrc-vendor-install
Use HOMEBREW_CURLRC in vendor-install
This commit is contained in:
		
						commit
						3c8b4949ba
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user