diff options
author | Stijn Buys <ingar@osirion.org> | 2016-03-25 18:32:30 +0100 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2016-03-25 18:32:30 +0100 |
commit | 3b990fd97eff35a23d46a135afcd8987f5797e3f (patch) | |
tree | 8c10b1369f3b4cc41a43215499def0a5d37da811 | |
parent | 8b41b0b34c916486bb792c43fe9d4bdcc16c804b (diff) |
Use the short git hash in the version number.
-rw-r--r-- | configure.ac | 2 |
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]) |