From d42f7d6563a9d76539954e7356eac717caa5fe5f Mon Sep 17 00:00:00 2001 From: Bart Trzynadlowski Date: Thu, 23 Jun 2022 12:38:58 -0700 Subject: [PATCH] Rules.inc: Fixed git revision parsing --- Makefiles/Rules.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefiles/Rules.inc b/Makefiles/Rules.inc index 7104d86..cf2c4a6 100644 --- a/Makefiles/Rules.inc +++ b/Makefiles/Rules.inc @@ -229,7 +229,7 @@ release:: print_message release:: clean release:: all set_version: - $(eval VERSION = $(subst ',,0.3a-git-$(shell git rev-parse --short HEAD --sq))) + $(eval VERSION = $(strip$(subst ',,0.3a-git-$(shell git rev-parse --short HEAD --sq)))) $(eval SUPERMODEL_BUILD_FLAGS += -DSUPERMODEL_VERSION=\"$(VERSION)\") print_message: $(info Building Supermodel Version $(VERSION))