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))