Add xcode-select --install to start.sh

This commit is contained in:
Ivan Malison 2014-11-09 23:37:58 -08:00
parent 3fffe726ff
commit 927ca5aaa6

View File

@ -20,13 +20,8 @@ function brew_for_multiple_users() {
} }
function osx() { function osx() {
hash gcc &>/dev/null xcode-select --install
if [ $? -ne 0 ] hash brew &>/dev/null && echo "brew found" || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
then
echo "gcc not found."
exit
fi
hash brew &>/dev/null && echo "brew found" || ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew_for_multiple_users brew_for_multiple_users
brew update brew update
brew install git brew install git