Przeglądaj źródła

Using our command_exists func to check for brew

Fixes #341.
Strahinja Val Markovic 11 lat temu
rodzic
commit
ed691d30c6
1 zmienionych plików z 1 dodań i 1 usunięć
  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."