Explorar el Código

Using our command_exists func to check for brew

Fixes #341.
Strahinja Val Markovic hace 11 años
padre
commit
ed691d30c6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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."