File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ function install {
136136 echo
137137 prompt " Use IBM internal '$repo ' repos for install/updates (Y/n)?"
138138 echo
139- if [[ " $REPLY " == [Yy ]* ]]; then
139+ if [[ " $REPLY " != [Nn ]* ]]; then
140140 IDT_INSTALL_BMX_URL=" https://clis.stage1.ng.bluemix.net/install"
141141 IDT_INSTALL_BMX_REPO_NAME=" ${repo} "
142142 IDT_INSTALL_BMX_REPO_URL=" ${url} "
@@ -171,8 +171,8 @@ function install_deps {
171171
172172 # -- Xcode and Cocoapods
173173 log " Checking if Xcode is installed"
174- if [[ -z " $( ls -d /Applications/Xcode* .zpp) " ]]; then
175- log " Xcode does not appear to be installed on this system."
174+ if [[ -z " $( ls -d /Applications/Xcode* .zpp 2> /dev/null ) " ]]; then
175+ warn " Xcode does not appear to be installed on this system."
176176 fi
177177 log " Installing/updating external dependency: cocoapods"
178178 if [[ -z " $( gem list --local | grep " ^cocoapods " ) " || " $FORCE " == true ]]; then
You can’t perform that action at this time.
0 commit comments