install.sh now removes old ycm libs if present

This commit is contained in:
Strahinja Val Markovic 2014-05-14 15:00:59 -07:00
parent fc05769788
commit 6572635c67

View File

@ -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