Skip to content

Commit

Permalink
use homebrew's curl and git when installing homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
andreineculau committed Jan 11, 2021
1 parent b372984 commit 06a5ed6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bootstrap/brew-bootstrap.inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function bootstrap_brew() {
case ${HAS_BREW_2}-$(uname -s) in
false-Darwin)
echo_do "brew: Installing homebrew..."
export HOMEBREW_FORCE_BREWED_CURL=true
export HOMEBREW_FORCE_BREWED_GIT=true
</dev/null /bin/bash -c "$(curl -fqsSL ${BREW_INSTALL_URL}/install.sh)"
echo_done
# see https://github.com/Homebrew/brew/issues/5013
Expand All @@ -72,6 +74,8 @@ function bootstrap_brew() {
tar xz --strip 1 -C ${HOMEBREW_PREFIX}
echo_done
else
export HOMEBREW_FORCE_BREWED_CURL=true
export HOMEBREW_FORCE_BREWED_GIT=true
</dev/null /bin/bash -c "$(curl -fqsSL ${BREW_INSTALL_URL}/install.sh)"
fi
echo_done
Expand Down

0 comments on commit 06a5ed6

Please sign in to comment.