From efef80b75e3029d4c7fcd681dd86a6e9a1c45477 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Fri, 19 Aug 2022 12:06:43 +0200 Subject: [PATCH] Fix make variable --- Makefile | 2 +- lib/libzstd.mk | 2 +- programs/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 67ef928cc..429c90ff1 100644 --- a/Makefile +++ b/Makefile @@ -157,7 +157,7 @@ MKDIR ?= mkdir -p HAVE_COLORNEVER = $(shell echo a | egrep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0) EGREP_OPTIONS ?= -ifeq ($HAVE_COLORNEVER, 1) +ifeq ($(HAVE_COLORNEVER), 1) EGREP_OPTIONS += --color=never endif EGREP = egrep $(EGREP_OPTIONS) diff --git a/lib/libzstd.mk b/lib/libzstd.mk index df298d789..f9cfa6f2b 100644 --- a/lib/libzstd.mk +++ b/lib/libzstd.mk @@ -120,7 +120,7 @@ endif HAVE_COLORNEVER = $(shell echo a | grep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0) GREP_OPTIONS ?= -ifeq ($HAVE_COLORNEVER, 1) +ifeq ($(HAVE_COLORNEVER), 1) GREP_OPTIONS += --color=never endif GREP = grep $(GREP_OPTIONS) diff --git a/programs/Makefile b/programs/Makefile index a5f5b45f2..fb830ab19 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -339,7 +339,7 @@ ifneq (,$(filter $(UNAME),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD D HAVE_COLORNEVER = $(shell echo a | egrep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0) EGREP_OPTIONS ?= -ifeq ($HAVE_COLORNEVER, 1) +ifeq ($(HAVE_COLORNEVER), 1) EGREP_OPTIONS += --color=never endif EGREP = egrep $(EGREP_OPTIONS)