You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2014/02/20 20:17:41 UTC

[35/50] [abbrv] git commit: updated refs/heads/ui-restyle to c64bfa5

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/ui-restyle
Commit: 5e717cbb89d253ec6875da8e4a30c79effe53f96
Parents: fefddc0
Author: Hugo Trippaers <ht...@schubergphilis.com>
Authored: Wed Feb 19 16:21:43 2014 +0100
Committer: Hugo Trippaers <ht...@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