From: David Goulet Date: Tue, 29 Jul 2014 15:38:44 +0000 (-0400) Subject: Fix: always use git describe --all --long for the git version X-Git-Tag: v2.6.0-rc1~92 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ed343076683ad0b7b7aaa557e30f97429efb82f3;p=lttng-tools.git Fix: always use git describe --all --long for the git version Signed-off-by: David Goulet --- diff --git a/include/Makefile.am b/include/Makefile.am index d2061f1e0..767b05b5d 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -21,8 +21,7 @@ version.h: git_version=""; \ else \ git_describe="$$(git describe)"; \ - if [ "$${git_branch}" == "$${git_describe}" ] || \ - [ "$${git_branch}" == "heads/master" ]; then \ + if [ "$${git_branch}" == "$${git_describe}" ]; then \ git_version="$${git_describe}"; \ else \ git_version="$$(git describe --long --all)"; \