cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject git commit: updated refs/heads/master to 5e717cb
Date Wed, 19 Feb 2014 15:22:10 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master fefddc062 -> 5e717cbb8


Fixed on master for jenkins buildslave


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

Branch: refs/heads/master
Commit: 5e717cbb89d253ec6875da8e4a30c79effe53f96
Parents: fefddc0
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Wed Feb 19 16:21:43 2014 +0100
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Wed Feb 19 16:21:43 2014 +0100

----------------------------------------------------------------------
 tools/appliance/build.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5e717cbb/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index 658aa8d..7ba0611 100644
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -26,7 +26,14 @@ else
 fi
 
 build_date=`date +%Y-%m-%d`
-branch=`git status | grep '# On branch' | awk '{print $4}'`
+
+# set fixed or leave empty to use git to determine
+branch=master
+
+if [ -z "$branch" ] ; then
+  branch=`git status | grep '# On branch' | awk '{print $4}'`
+fi
+
 if [ -z "$branch" ] ; then
     branch=unknown
 fi


Mime
View raw message