소스 검색

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."