summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-09-27 16:19:03 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-09-27 16:19:28 +0200
commitcf1a4a79b007249cc348353a3a77bb0a75145449 (patch)
tree38e18a8117d3f45c49b257a7994a2c623f903b92 /tools
parent1a1d443f91cfbb5100b5212bbd408ae7d8a271d0 (diff)
downloadlasso-cf1a4a79b007249cc348353a3a77bb0a75145449.tar.gz
lasso-cf1a4a79b007249cc348353a3a77bb0a75145449.tar.xz
lasso-cf1a4a79b007249cc348353a3a77bb0a75145449.zip
toosl/git-version-gen: use a dot to separate the commit string from the regular version
Diffstat (limited to 'tools')
-rwxr-xr-xtools/git-version-gen2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/git-version-gen b/tools/git-version-gen
index 116af68e..5611793d 100755
--- a/tools/git-version-gen
+++ b/tools/git-version-gen
@@ -185,7 +185,7 @@ 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-g/'`;
+ v=`echo "$v" | sed 's/-/./;s/\(.*\)-g/\1.g/'`;
v_from_git=1
elif test "x$fallback" = x || git --version >/dev/null 2>&1; then
v=UNKNOWN