From 8bc9073ef1df958654fc38ec52c4562f751fc904 Mon Sep 17 00:00:00 2001 From: "Robert D. Blanchet Jr" Date: Sun, 17 Feb 2013 11:01:31 -0800 Subject: [PATCH] Only use python_finder on OSX. --- install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5095fd5b..8e637fb8 100755 --- a/install.sh +++ b/install.sh @@ -50,8 +50,14 @@ function install { ycm_dir=`pwd` build_dir=`mktemp -d -t ycm_build.XXXX` pushd $build_dir - cmake -G "Unix Makefiles" $(python_finder) $1 . $ycm_dir/cpp - make ycm_core + + if [[ `uname -s` == "Darwin" ]]; then + cmake -G "Unix Makefiles" $(python_finder) $1 . $ycm_dir/cpp + else + cmake -G "Unix Makefiles" $1 . $ycm_dir/cpp + fi + + #make ycm_core popd }