Doublecheck if bundle exists before trying to compile YCM
This commit is contained in:
parent
d92e3692a9
commit
ea91aaab18
|
@ -22,7 +22,7 @@ fi
|
|||
echo "\n* Updating vim..."
|
||||
vim +BundleInstall! +BundleClean! +q +q
|
||||
|
||||
if [ ! -e ~/.vim/bundle/YouCompleteMe/python/ycm_core.so ]; then
|
||||
if [ -d ~/.vim/bundle/YouCompleteMe ] && [ ! -e ~/.vim/bundle/YouCompleteMe/python/ycm_core.so ]; then
|
||||
echo "\n* Trying to compile YCM"
|
||||
brew install cmake
|
||||
cd ~/.vim/bundle/YouCompleteMe
|
||||
|
|
Loading…
Reference in a new issue