[macOS] Install stable Xcode clt for Monterey (#4382)

This commit is contained in:
Mikhail Timofeev
2021-10-30 13:05:59 +03:00
committed by GitHub
parent ecbbec3330
commit 64b553b5d0
2 changed files with 1 additions and 5 deletions

View File

@@ -12,10 +12,6 @@ install_clt() {
clt_placeholder="/tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress"
sudo touch $clt_placeholder
cltPattern="Command Line Tools"
# Command Line Tools for Xcode 13.0 does not support macOS 12
if is_Monterey; then
cltPattern="Command Line Tools beta"
fi
clt_label_command="/usr/sbin/softwareupdate -l |
grep -B 1 -E '${cltPattern}' |