[ion] Avoid backticks to retrieve the PATCH_LEVEL

This commit is contained in:
Romain Goyet
2019-03-19 09:38:17 +01:00
parent 8ff8599958
commit 9ef96e434b

View File

@@ -1,7 +1,7 @@
GIT := $(shell command -v git 2> /dev/null)
PATCH_LEVEL = NONE
ifdef GIT
PATCH_LEVEL = `git rev-parse HEAD | head -c 7`
PATCH_LEVEL = $(shell git rev-parse HEAD | head -c 7)
endif
SFLAGS += -Iion/include -DKD_CONFIG_H=1