Add Xcode 12.2 and 12.3 beta (#2054)

This commit is contained in:
Mikhail Timofeev
2020-11-13 17:57:58 +03:00
committed by GitHub
parent 8d330bd360
commit 1be42bd050
3 changed files with 3 additions and 8 deletions

View File

@@ -11,12 +11,7 @@ install_clt() {
# This temporary file prompts the 'softwareupdate' utility to list the Command Line Tools
clt_placeholder="/tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress"
sudo touch $clt_placeholder
# The only working tools for Big Sur are 12.2
if is_Less_BigSur; then
cltPattern="Command Line Tools"
else
cltPattern="Command Line Tools.*Xcode-12.2"
fi
cltPattern="Command Line Tools"
clt_label_command="/usr/sbin/softwareupdate -l |
grep -B 1 -E '${cltPattern}' |