CLOUDSTACK-6392: system template always create with name master instead of specific branch

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
rayeesn 2014-05-27 07:53:23 -07:00 committed by Abhinandan Prateek
parent a3dd5d1522
commit 63090434b1
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ fi
build_date=`date +%Y-%m-%d`
# set fixed or leave empty to use git to determine
branch=master
branch=
if [ -z "$branch" ] ; then
branch=`git status | grep '# On branch' | awk '{print $4}'`