diff options
| author | Ed Maste <emaste@freebsd.org> | 2017-12-20 15:21:19 -0500 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-12-21 13:53:39 +0100 |
| commit | 81fe66b42a9f2d857797bfc7fac235aafc6e75ef (patch) | |
| tree | fdc84d1013caabc0959f0cbf680776c540996679 | |
| parent | eaadba986d31d4be987d5c350af119160162f033 (diff) | |
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.
| -rw-r--r-- | AUTHORS | 1 | ||||
| -rw-r--r-- | CONTRIBUTORS | 1 | ||||
| -rw-r--r-- | Makefile | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -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 @@ -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)+ |
