Using -f with rm to get exit 0 if missing file
As per comments on 6572635c67
This commit is contained in:
parent
78610d2479
commit
6b7e736157
@ -5,6 +5,6 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||||||
$SCRIPT_DIR/third_party/ycmd/build.sh "$@"
|
$SCRIPT_DIR/third_party/ycmd/build.sh "$@"
|
||||||
|
|
||||||
# Remove old YCM libs if present so that YCM can start.
|
# Remove old YCM libs if present so that YCM can start.
|
||||||
rm python/*ycm_core.* &> /dev/null
|
rm -f python/*ycm_core.* &> /dev/null
|
||||||
rm python/*ycm_client_support.* &> /dev/null
|
rm -f python/*ycm_client_support.* &> /dev/null
|
||||||
rm python/*clang*.* &> /dev/null
|
rm -f python/*clang*.* &> /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user