aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:10:46 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:10:46 +0000
commita49a3f8147b42f08614b10b12767484d94461350 (patch)
tree495d94e5cc88d27ecdb0321f8bcceb11d1d3ab92 /build
parent29a443a7173d2c8d17b655ece87e55efdf3f465e (diff)
fix-build-hash-name-no-colon-separator.patch
Suggested-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Colons are not very friendly for tar... scp has trouble too but you can override that by prepending any path like ./ ... still better to dilute the colon down to a _ avoiding - because it can appear in branch names we use. 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 8d0dfb42ac7..324d77b032a 100755
--- a/build
+++ b/build
@@ -8,7 +8,7 @@ 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`
- VERSION=-$BRANCH:$HEAD
+ VERSION=-$BRANCH\_$HEAD
fi
if make -j5 ARCH=arm CONFIG_DEBUG_SECTION_MISMATCH=y EXTRAVERSION=$VERSION; then