Browse Source

install.sh now removes old ycm libs if present

Strahinja Val Markovic 11 years ago
parent
commit
6572635c67
1 changed files with 5 additions and 2 deletions
  1. 5 2
      install.sh

+ 5 - 2
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