File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ nonInteractiveAzuleCheck () {
4949# # Checks for the Xcode command line tools and doesn't prompt for installation. Returns 1 if Xcode not found, else returns 0.
5050# Call with true to make it print an error.
5151nonInteractiveXcodeCltCheck () {
52- if ! xcode-select -p 1 > /dev/null; then
52+ if ! xcode-select -p & > /dev/null; then
5353 if [[ $1 == " true" ]]; then
5454 echo -e " $error Variscite couldn't locate the Xcode Command Line Tools."
5555 echo -e " $info You can install them manually by running xcode-select --install"
@@ -447,7 +447,8 @@ if [ checkAreWeOnMac ]; then
447447 echo -e " $question Variscite can request the installation of them for you."
448448 read -p " $( echo -e " $question Continue? y/n: " ) " -n 1 -r
449449 if [[ $REPLY =~ ^[Yy]$ ]]; then
450- xcode-select --install
450+ xcode-select --install & > /dev/null
451+ echo
451452 echo -e " $info Variscite has requested the installation of Xcode Command Line Tools for you."
452453 echo -e " $info Once they are installed, just re-run Variscite!"
453454 exit 0
You can’t perform that action at this time.
0 commit comments