From 6b7e7361571bf6b54dc78c46fe76849c64bb59d5 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Thu, 15 May 2014 09:54:41 -0700 Subject: [PATCH] Using -f with rm to get exit 0 if missing file As per comments on https://github.com/Valloric/YouCompleteMe/commit/6572635c67df24d8f4955d10ffe9bdede2f84bc1 --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 290289d8..5a4503a7 100755 --- a/install.sh +++ b/install.sh @@ -5,6 +5,6 @@ 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 +rm -f python/*ycm_core.* &> /dev/null +rm -f python/*ycm_client_support.* &> /dev/null +rm -f python/*clang*.* &> /dev/null