fix: take $HOMEBREW_DOCKER_REGISTRY_TOKEN into account when installing portable Ruby
This commit is contained in:
parent
47c9dafcb2
commit
0266d77b0f
@ -119,7 +119,7 @@ fetch() {
|
|||||||
--remote-time
|
--remote-time
|
||||||
--location
|
--location
|
||||||
--user-agent "${HOMEBREW_USER_AGENT_CURL}"
|
--user-agent "${HOMEBREW_USER_AGENT_CURL}"
|
||||||
--header "Authorization: Bearer QQ=="
|
--header "Authorization: Bearer ${HOMEBREW_DOCKER_REGISTRY_TOKEN:-QQ==}"
|
||||||
)
|
)
|
||||||
|
|
||||||
if [[ -n "${HOMEBREW_QUIET}" ]]
|
if [[ -n "${HOMEBREW_QUIET}" ]]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user