From 2b1f5b426297cc7d1a1c45730e16ca5330855407 Mon Sep 17 00:00:00 2001 From: "T. R. Bernstein" <137705289+trbernstein@users.noreply.github.com> Date: Mon, 22 Jul 2024 01:26:14 +0200 Subject: [PATCH] Don't install CLT if Xcode is installed --- bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap.sh b/bootstrap.sh index 36f1333..c0e968b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -47,6 +47,7 @@ function majorMinor() { } function shouldInstallCommandLineTools() { + [[ ! -d "/Applications/Xcode.app" ]] || return 1 local macosVersion=$(majorMinor $(/usr/bin/sw_vers -productVersion)) if versionGT "${macosVersion}" "10.13" then