From: Michael Stapelberg Date: Mon, 5 Sep 2016 06:35:24 +0000 (+0200) Subject: Bugfix: re-add single quotes around I3STATUS_VERSION X-Git-Tag: 2.11~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48e10658b46e07b89ee7074af1a56bdc61656f05;p=i3%2Fi3status Bugfix: re-add single quotes around I3STATUS_VERSION related to https://github.com/i3/i3/issues/2437 --- 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))"