fix: take $HOMEBREW_DOCKER_REGISTRY_TOKEN into account when installing portable Ruby

This commit is contained in:
Thomas Vaillant 2021-12-16 18:36:12 +01:00
parent 47c9dafcb2
commit 0266d77b0f

View File

@ -119,7 +119,7 @@ fetch() {
--remote-time
--location
--user-agent "${HOMEBREW_USER_AGENT_CURL}"
--header "Authorization: Bearer QQ=="
--header "Authorization: Bearer ${HOMEBREW_DOCKER_REGISTRY_TOKEN:-QQ==}"
)
if [[ -n "${HOMEBREW_QUIET}" ]]