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. --- AUTHORS | 1 + CONTRIBUTORS | 1 + Makefile | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 658ba380d..8aa070ca4 100644 --- a/AUTHORS +++ b/AUTHORS @@ -16,3 +16,4 @@ Yuzhe Han Utkarsh Anand Tobias Klauser Tim Tianyang Chen +Ed Maste diff --git a/CONTRIBUTORS b/CONTRIBUTORS index c2680fffc..f74a620de 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -26,3 +26,4 @@ Thomas Garnier Utkarsh Anand Tobias Klauser Tim Tianyang Chen +Ed Maste 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