aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2017-12-20 15:21:19 -0500
committerDmitry Vyukov <dvyukov@google.com>2017-12-21 13:53:39 +0100
commit81fe66b42a9f2d857797bfc7fac235aafc6e75ef (patch)
treefdc84d1013caabc0959f0cbf680776c540996679 /Makefile
parenteaadba986d31d4be987d5c350af119160162f033 (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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)+