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 9cd6c4f2ae
commit 5f11c2e0be
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}'`