浏览代码

Using our command_exists func to check for brew

Fixes #341.
Strahinja Val Markovic 11 年之前
父节点
当前提交
ed691d30c6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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."