summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2016-09-05 08:35:24 +0200
committerMichael Stapelberg <michael@stapelberg.de>2016-09-05 08:35:24 +0200
commit48e10658b46e07b89ee7074af1a56bdc61656f05 (patch)
tree799019dcf02592e30fa77fb4cfab5f312a50e9b3 /Makefile
parentad8b034e4847056429386eb642b02978a5921ec1 (diff)
Bugfix: re-add single quotes around I3STATUS_VERSION
related to https://github.com/i3/i3/issues/2437
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 440328a..2035b0d 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ LIBS+=-lpthread
ifeq ($(wildcard .git),)
# not in git repository
VERSION := $(shell [ -f $(TOPDIR)/I3STATUS_VERSION ] && cat $(TOPDIR)/I3STATUS_VERSION | cut -d '-' -f 1)
- I3STATUS_VERSION := $(shell [ -f $(TOPDIR)/I3STATUS_VERSION ] && cat $(TOPDIR)/I3STATUS_VERSION)
+ I3STATUS_VERSION := '$(shell [ -f $(TOPDIR)/I3STATUS_VERSION ] && cat $(TOPDIR)/I3STATUS_VERSION)'
else
VERSION:=$(shell git describe --tags --abbrev=0)
I3STATUS_VERSION:="$(shell git describe --tags --always) ($(shell git log --pretty=format:%cd --date=short -n1))"