From a49a3f8147b42f08614b10b12767484d94461350 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 19 Nov 2008 17:10:46 +0000 Subject: fix-build-hash-name-no-colon-separator.patch Suggested-by: Carl-Daniel Hailfinger 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 --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') 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 -- cgit v1.2.3