Forráskód Böngészése

Using our command_exists func to check for brew

Fixes #341.
Strahinja Val Markovic 11 éve
szülő
commit
ed691d30c6
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      install.sh

+ 1 - 1
install.sh

@@ -15,7 +15,7 @@ function cmake_install {
 }
 
 function homebrew_cmake_install {
-  if [[ `which brew &> /dev/null` ]]; then
+  if command_exists brew; then
     brew install cmake
   else
     echo "Homebrew was not found installed in your system."