Bugfix: re-add single quotes around I3_VERSION

Without single quotes, the version is not passed correctly to the
compiler, and building Debian packages fails.

related to #2437
This commit is contained in:
Michael Stapelberg 2016-09-05 08:19:02 +02:00
parent fac57699b4
commit f62eb9f533
1 changed files with 1 additions and 1 deletions

View File

@ -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/::)\")'