cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to e71009a
Date Fri, 08 Aug 2014 18:31:01 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 57f611df1 -> e71009a57


appliance: fix branch finding method from e16414e even Junio can be wrong

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit bbaefb8e5def610a654fba907c8ec3f868416bdf)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e71009a5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e71009a5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e71009a5

Branch: refs/heads/master
Commit: e71009a57109e524090fc93da9c681919a1bbed2
Parents: 57f611d
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Fri Aug 8 20:25:41 2014 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Fri Aug 8 20:30:42 2014 +0200

----------------------------------------------------------------------
 tools/appliance/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e71009a5/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index d377cc5..9810527 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 symbolic-ref --short -q HEAD 2>/dev/null || echo unknown`
+  branch=`git name-rev --no-undefined --name-only HEAD 2>/dev/null || echo unknown | sed
-e 's/remotes\/.*\///g'`
 fi
 
 rootdir=$PWD


Mime
View raw message