summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
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