Skip to content
Snippets Groups Projects
Unverified Commit fd08ffdd authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

cmd/update.sh: update Git logic.

parent 82ad6a56
No related branches found
No related tags found
No related merge requests found
......@@ -383,9 +383,7 @@ EOS
! -x "$HOMEBREW_PREFIX/opt/git/bin/git" ]]
then
ohai "Installing Homebrew Git"
[[ -d "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-core" ]] && brew install git
unset GIT_EXECUTABLE
if ! git --version &>/dev/null
if [[ -d "$HOMEBREW_LIBRARY/Taps/homebrew/homebrew-core" ]] && ! brew install git
then
odie "Git must be installed and in your PATH!"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment