-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
xcode-select -p should return a status of 2 if the CLT do not exist, which seems to be consistent with my brief testing and this StackOverflow answer. This works in Yosemite, and possibly Mavericks as well.
# Download and install Command Line Tools
xcode-select -p 1>/dev/null
if [[ $? -ne 0 ]]; then
echo "Info | Install | xcode"
xcode-select --install
fiReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels