YouCompleteMe/install.sh
Strahinja Val Markovic 6b7e736157 Using -f with rm to get exit 0 if missing file
As per comments on 6572635c67
2014-05-15 09:54:41 -07:00

11 lines
307 B
Bash
Executable File

#!/usr/bin/env bash
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 -f python/*ycm_core.* &> /dev/null
rm -f python/*ycm_client_support.* &> /dev/null
rm -f python/*clang*.* &> /dev/null