summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 127203fc..b234d947 100644
--- a/config.mk
+++ b/config.mk
@@ -30,7 +30,7 @@ REAL_VERSION=$(BUILDDATE)
# Version info
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)
+NAME=$(shell if [ "$(GIT_VERSION)" ]; then echo "$(REAL_NAME)-git"; else echo "$(REAL_NAME)"; fi)
BUILDDATE=`date +%Y.%m.%d`
# Targets