diff --git a/script/build-git b/script/build-git index 58374c57d2..3f499a91b3 100755 --- a/script/build-git +++ b/script/build-git @@ -4,8 +4,7 @@ DIR="$1" case $(uname -s) in Darwin) - brew link --force curl - CURLDIR="$(curl-config --prefix)";; + CURLDIR="$(brew --prefix curl)";; Linux) export DEBIAN_FRONTEND=noninteractive if test -f /etc/apt/sources.list.d/ubuntu.sources; then