aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-12-18 18:26:44 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-12-18 18:26:44 +0000
commite142549d884a17b81b4c87de8ab116bd8b1df03c (patch)
tree44f753641aca1155654f0ae543f011f68337456d /build
parent74f1328174d5e2b78285ae68121b52c2d34d0f0a (diff)
build-hide-hist-branch-tag.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 1726b2d5361..75961abf143 100755
--- a/build
+++ b/build
@@ -50,7 +50,7 @@ fi
VERSION=
if [ -d .git ] ; then
HEAD=`git show --pretty=oneline | head -n1 | cut -d' ' -f1 | cut -b1-16`
- BRANCH=`git branch | grep ^\* | cut -d' ' -f2`
+ BRANCH=`git branch | grep ^\* | cut -d' ' -f2 | sed s/-hist//g`
VERSION=-$PRODUCT\_$BRANCH\_$HEAD
fi