From 3b990fd97eff35a23d46a135afcd8987f5797e3f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 25 Mar 2016 18:32:30 +0100 Subject: Use the short git hash in the version number. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1e19fe8..c34ce35 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl ---------------------------------------------------------------- dnl append git revision to the version number dnl determine the git revision number -define([gitversion], esyscmd([sh -c "echo -n 'git'; git rev-parse HEAD | tr -d '\n'"])) +define([gitversion], esyscmd([sh -c "echo -n 'git'; git rev-parse --short HEAD | tr -d '\n'"])) AC_INIT([osirion], [0.2.6-gitversion]) -- cgit v1.2.3