build-sys: teacch git versioning script to not kill - in version strings

This commit is contained in:
Lennart Poettering 2009-06-23 17:13:29 +02:00
parent 5651c03920
commit b4b1f0375c

View file

@ -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