Repository: cloudstack Updated Branches: refs/heads/4.4 e77da80e0 -> 00265fba3
did git change it output format since this script was made? Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/00265fba Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/00265fba Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/00265fba Branch: refs/heads/4.4 Commit: 00265fba342efd54823c38f7a6abf7304b4c3a03 Parents: e77da80 Author: Daan Hoogland <[email protected]> Authored: Fri Aug 8 15:22:30 2014 +0200 Committer: Daan Hoogland <[email protected]> Committed: Fri Aug 8 15:22:30 2014 +0200 ---------------------------------------------------------------------- tools/appliance/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/00265fba/tools/appliance/build.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh index db5dcb0..13c9ca7 100755 --- a/tools/appliance/build.sh +++ b/tools/appliance/build.sh @@ -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
