diff options
| author | Mike McQuaid | 2018-02-27 10:16:45 +0000 |
|---|---|---|
| committer | GitHub | 2018-02-27 10:16:45 +0000 |
| commit | 8ee2d0983c924951f1c66a2464da7f70792127c5 (patch) | |
| tree | 6abc5883ca4479c08506b01ae500dafa978ac4d0 /Library/Homebrew/brew.sh | |
| parent | 650d6dbaac625a758881a215a35d8d4a248de5bf (diff) | |
| parent | 72f4d054189d746bb40db44b565ca9c42f25a7a6 (diff) | |
| download | brew-1.5.5.tar.bz2 | |
Merge pull request #3837 from MikeMcQuaid/system-git-too-old1.5.5
Handle a too old system Git on OS X 10.8 and below
Diffstat (limited to 'Library/Homebrew/brew.sh')
| -rw-r--r-- | Library/Homebrew/brew.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index 61d85ddd2..77a60dfc7 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -96,6 +96,14 @@ then HOMEBREW_FORCE_BREWED_CURL="1" fi + # The system Git is too old for some GitHub's SSL ciphers on older + # macOS versions. + # https://github.com/blog/2507-weak-cryptographic-standards-removed + if [[ "$HOMEBREW_MACOS_VERSION_NUMERIC" -lt "100900" ]] + then + HOMEBREW_SYSTEM_GIT_TOO_OLD="1" + fi + if [[ -z "$HOMEBREW_CACHE" ]] then HOMEBREW_CACHE="$HOME/Library/Caches/Homebrew" |
