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