From ed691d30c69ddbc53e01e02527b17f345e315b7a Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Sun, 26 May 2013 17:38:47 -0700 Subject: [PATCH] Using our command_exists func to check for brew Fixes #341. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f77408ab..93ebc758 100755 --- a/install.sh +++ b/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."