We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d72a750 commit 5cca0faCopy full SHA for 5cca0fa
macsetup.sh
@@ -662,8 +662,8 @@ fi
662
# Notes
663
# - Cannot be added to apps.yml for now as it doesn't manage custom installation check
664
#
665
-if [[ $(xcode-select -p 1> /dev/null; echo $?) -eq 2 ]]; then
666
- xcode-select --install
+if [[ $(xcode-select -p 2>&1 | grep "Unable to get active developer directory") ]]; then
+ xcode-select --install >/dev/null 2>&1
667
pausethescript "Wait for the XCode Tools installation to finish before continuing."
668
fi
669
0 commit comments