From b4b1f0375ca96c0813de5fc3c68feb052d4c2895 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Jun 2009 17:13:29 +0200 Subject: build-sys: teacch git versioning script to not kill - in version strings --- git-version-gen | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'git-version-gen') diff --git a/git-version-gen b/git-version-gen index bb99c3a85..ae3988ea1 100755 --- a/git-version-gen +++ b/git-version-gen @@ -121,7 +121,8 @@ then # Change the first '-' to a '.', so version-comparing tools work properly. # Remove the "g" in git describe's output string, to save a byte. - v=`echo "$v" | sed 's/-/./;s/\(.*\)-g/\1-/'`; +# v=`echo "$v" | sed 's/-/./;s/\(.*\)-g/\1-/'`; + : else v=UNKNOWN fi -- cgit v1.2.3