From 6572635c67df24d8f4955d10ffe9bdede2f84bc1 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Wed, 14 May 2014 15:00:59 -0700 Subject: [PATCH] install.sh now removes old ycm libs if present --- install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 1c93036d..290289d8 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,10 @@ #!/usr/bin/env bash -set -e - SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" $SCRIPT_DIR/third_party/ycmd/build.sh "$@" + +# Remove old YCM libs if present so that YCM can start. +rm python/*ycm_core.* &> /dev/null +rm python/*ycm_client_support.* &> /dev/null +rm python/*clang*.* &> /dev/null