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() {
hash gcc &>/dev/null
if [ $? -ne 0 ]
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)"
xcode-select --install
hash brew &>/dev/null && echo "brew found" || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew_for_multiple_users
brew update
brew install git