build-sys: teacch git versioning script to not kill - in version strings
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Jun 2009 15:13:29 +0000 (17:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Jun 2009 15:13:29 +0000 (17:13 +0200)
git-version-gen

index bb99c3a..ae3988e 100755 (executable)
@@ -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