From 5a32e91e88bfe376a1c829393b7e796fea5a24dc Mon Sep 17 00:00:00 2001 From: JustArchi Date: Fri, 15 Jul 2016 21:48:39 +0200 Subject: [PATCH] cc.sh: Make git pull and nuget restore non-fatal --- cc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cc.sh b/cc.sh index 1bea13f85..02e754497 100755 --- a/cc.sh +++ b/cc.sh @@ -30,7 +30,7 @@ XBUILD_ARGS+=("/p:Configuration=$BUILD") cd "$(dirname "$(readlink -f "$0")")" if [[ -d ".git" ]] && hash git &>/dev/null; then - git pull + git pull || true fi if [[ ! -f "$SOLUTION" ]]; then @@ -39,7 +39,7 @@ if [[ ! -f "$SOLUTION" ]]; then fi if hash nuget &>/dev/null; then - nuget restore "$SOLUTION" + nuget restore "$SOLUTION" || true fi if [[ "$CLEAN" -eq 1 ]]; then