From 1d6e00e6b4cd5071a8b7298f919307ccd489cecd Mon Sep 17 00:00:00 2001 From: skipalmer <42819152+skipalmer@users.noreply.github.com> Date: Fri, 13 Dec 2019 16:06:13 -0800 Subject: [PATCH] Update checkStatus.sh Changed branch is up-to-date to branch is up to date in checkStatus.sh to fix check for update issue on the Colfax server. --- demoTools/checkStatus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demoTools/checkStatus.sh b/demoTools/checkStatus.sh index 85332cd1..d2706cd2 100755 --- a/demoTools/checkStatus.sh +++ b/demoTools/checkStatus.sh @@ -3,7 +3,7 @@ rem=`git config --get remote.origin.url` echo $rem git remote update &>/dev/null st=`git status | awk 'NR==2'` -if [ `echo $st | grep -c 'branch is up-to-date'` -eq 1 ]; then +if [ `echo $st | grep -c 'branch is up to date'` -eq 1 ]; then echo 0 elif [ `echo $st | grep -c 'branch is behind'` -eq 1 ]; then echo 1