summaryrefslogtreecommitdiff
path: root/git-version-gen
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-06-23 17:13:29 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-23 17:13:29 +0200
commitb4b1f0375ca96c0813de5fc3c68feb052d4c2895 (patch)
tree7bcccad49645425c1c59aa19facc22e82e953a5e /git-version-gen
parent5651c039207696aef8d6898846aa0efc9d582e78 (diff)
build-sys: teacch git versioning script to not kill - in version strings
Diffstat (limited to 'git-version-gen')
-rwxr-xr-xgit-version-gen3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-version-gen b/git-version-gen
index bb99c3a8..ae3988ea 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