From 81fe66b42a9f2d857797bfc7fac235aafc6e75ef Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 20 Dec 2017 15:21:19 -0500 Subject: Makefile: fix git "modified tree" test Makefile falsely detected a modified git tree when the first ifeq argument was unquoted. Also switch to the $(shell ... style for consistency. As requested, add myself to AUTHORS and CONTRIBUTORS. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a68edf5fd..a0d4daaf7 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ ifeq ("$(TARGETOS)", "windows") endif GITREV=$(shell git rev-parse HEAD) -ifeq ($(`git diff --shortstat`), "") +ifeq ("$(shell git diff --shortstat)", "") REV=$(GITREV) else REV=$(GITREV)+ -- cgit mrf-deployment