did git change it output format since this script was made?

This commit is contained in:
Daan Hoogland 2014-08-08 15:22:30 +02:00
parent e77da80e01
commit 00265fba34
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ build_date=`date +%Y-%m-%d`
branch=
if [ -z "$branch" ] ; then
branch=`git status | grep '# On branch' | awk '{print $4}'`
branch=`git status | grep 'On branch' | awk '{print $3}'`
fi
if [ -z "$branch" ] ; then