diff --git a/tools/mac_setup.sh b/tools/mac_setup.sh index 282121ef1d..3465747a50 100755 --- a/tools/mac_setup.sh +++ b/tools/mac_setup.sh @@ -22,16 +22,16 @@ fi # Install brew if required if [[ $(command -v brew) == "" ]]; then echo "Installing Homebrew" - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" echo "[ ] installed brew t=$SECONDS" # make brew available now if [[ $ARCH == "x86_64" ]]; then - echo 'eval "$(/usr/local/homebrew/bin/brew shellenv)"' >> $RC_FILE - eval "$(/usr/local/homebrew/bin/brew shellenv)" + echo 'eval "$(/usr/local/bin/brew shellenv)"' >> $RC_FILE + eval "$(/usr/local/bin/brew shellenv)" else - echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $RC_FILE - eval "$(/opt/homebrew/bin/brew shellenv)" + echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $RC_FILE + eval "$(/opt/homebrew/bin/brew shellenv)" fi fi