From 927ca5aaa6b83f30bbfd9bbccbd1ddf6791e69aa Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 9 Nov 2014 23:37:58 -0800 Subject: [PATCH] Add xcode-select --install to start.sh --- start.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/start.sh b/start.sh index 99e8f99d..c2bbfafb 100644 --- a/start.sh +++ b/start.sh @@ -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