diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2013-09-27 16:19:03 +0200 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2013-09-27 16:19:28 +0200 |
| commit | cf1a4a79b007249cc348353a3a77bb0a75145449 (patch) | |
| tree | 38e18a8117d3f45c49b257a7994a2c623f903b92 | |
| parent | 1a1d443f91cfbb5100b5212bbd408ae7d8a271d0 (diff) | |
| download | lasso-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
| -rwxr-xr-x | tools/git-version-gen | 2 |
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 |
