summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrexxnor <rexxnor@brief.li>2021-04-18 17:30:12 +0200
committerrexxnor <rexxnor@brief.li>2021-04-18 17:30:12 +0200
commit5ec7af75ea9f8ed86cf28a8efed9a917345d1681 (patch)
tree47a74fb8814c6519fa0dcf03eeb80a5462365267 /configure.ac
parent676ed11fc45cab813652956c7012d622d9509b98 (diff)
- fixed format for configure.ac git version
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5066f8178..0a895e1f8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1867,7 +1867,7 @@ AC_MSG_CHECKING(for source being under a VCS)
git_version=
AS_IF([test ! "X$gitcommand" = "X"],
[
- git_version=$(cd $srcdir ; git log -n 1 | head -n 1 2>/dev/null)
+ git_version=$(cd $srcdir ; git log -n1 --abbrev-commit | head -n1 | cut -d " " -f2 2>/dev/null)
])
AS_IF([test "X$git_version" = "X"],
[