diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-06-23 17:13:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-06-23 17:13:29 +0200 |
commit | b4b1f0375ca96c0813de5fc3c68feb052d4c2895 (patch) | |
tree | 7bcccad49645425c1c59aa19facc22e82e953a5e | |
parent | 5651c039207696aef8d6898846aa0efc9d582e78 (diff) |
build-sys: teacch git versioning script to not kill - in version strings
-rwxr-xr-x | git-version-gen | 3 |
1 files changed, 2 insertions, 1 deletions
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 |