From 0266d77b0fa526a16f1ca0be13dafdc6dbc15fa1 Mon Sep 17 00:00:00 2001 From: Thomas Vaillant Date: Thu, 16 Dec 2021 18:36:12 +0100 Subject: [PATCH] fix: take $HOMEBREW_DOCKER_REGISTRY_TOKEN into account when installing portable Ruby --- Library/Homebrew/cmd/vendor-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/vendor-install.sh b/Library/Homebrew/cmd/vendor-install.sh index 4c76f8e856..1cda2e6a71 100644 --- a/Library/Homebrew/cmd/vendor-install.sh +++ b/Library/Homebrew/cmd/vendor-install.sh @@ -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}" ]]