summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 69369c4f..127203fc 100644
--- a/config.mk
+++ b/config.mk
@@ -28,7 +28,7 @@ EXTENSION_MANAGER=dwbem
DTARGET=$(TARGET)_d
REAL_VERSION=$(BUILDDATE)
# Version info
-GIT_VERSION=$(shell git log -1 --format="%h-%cd" --date=short)
+GIT_VERSION=$(shell git log -1 --format="%cd %h" --date=short)
VERSION=$(shell if [ "$(GIT_VERSION)" ]; then echo "commit\ \"$(GIT_VERSION)\""; else echo "$(REAL_VERSION)"; fi)
NAME=$(shell if [ $(GIT_VERSION) ]; then echo "$(REAL_NAME)-git"; else echo "$(REAL_NAME)"; fi)
BUILDDATE=`date +%Y.%m.%d`