From bc8613cbe8c2415c12053deb5e76f928e92d583b Mon Sep 17 00:00:00 2001 From: Michka Popoff Date: Fri, 23 Jul 2021 14:51:33 +0200 Subject: [PATCH] brews.sh: change HOMEBREW_MINIMUM_CURL_VERSION only for debian 7 I am not sure why we also checked for HOMEBREW_FORCE_HOMEBREW_ON_LINUX. If the minimum curl version needs to be changed, we should introduce specific env variables for each case that needs it, instead of asking for HOMEBREW_FORCE_HOMEBREW_ON_LINUX to be set too (which is not the case in the linuxbrew-core repo for example) --- Library/Homebrew/brew.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index 312a029742..8ff54ed6da 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -412,7 +412,7 @@ else # This is set by the user environment. # shellcheck disable=SC2154 - if [[ -n "${HOMEBREW_FORCE_HOMEBREW_ON_LINUX}" && -n "${HOMEBREW_ON_DEBIAN7}" ]] + if [[ -n "${HOMEBREW_ON_DEBIAN7}" ]] then # Special version for our debian 7 docker container used to build patchelf and binutils HOMEBREW_MINIMUM_CURL_VERSION="7.25.0"