Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2016-03-25 18:32:30 +0100
committerStijn Buys <ingar@osirion.org>2016-03-25 18:32:30 +0100
commit3b990fd97eff35a23d46a135afcd8987f5797e3f (patch)
tree8c10b1369f3b4cc41a43215499def0a5d37da811
parent8b41b0b34c916486bb792c43fe9d4bdcc16c804b (diff)
Use the short git hash in the version number.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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])