]> git.sur5r.net Git - i3/i3/blobdiff - common.mk
Bugfix: re-add single quotes around I3_VERSION
[i3/i3] / common.mk
index e99f93c8bd90dad1357e1c712cd45f91c8569df4..b9569ca73d4bab4fd1b641402dd0fdb1d11a3033 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -22,7 +22,7 @@ endif
 ifeq ($(wildcard .git),)
   # not in git repository
   VERSION := $(shell [ -f $(TOPDIR)/I3_VERSION ] && cat $(TOPDIR)/I3_VERSION | cut -d '-' -f 1)
-  I3_VERSION := $(shell [ -f $(TOPDIR)/I3_VERSION ] && cat $(TOPDIR)/I3_VERSION)
+  I3_VERSION := '$(shell [ -f $(TOPDIR)/I3_VERSION ] && cat $(TOPDIR)/I3_VERSION)'
 else
   VERSION := $(shell git describe --tags --abbrev=0)
   I3_VERSION := '$(shell git describe --tags --always) ($(shell git log --pretty=format:%cd --date=short -n1), branch \"$(shell git describe --tags --always --all | sed s:heads/::)\")'