From 28ed3c99beb050aed0ad1c01fad47890567c4ea2 Mon Sep 17 00:00:00 2001 From: pulkit_jain <42600268+jainpulkit22@users.noreply.github.com> Date: Wed, 19 Jun 2024 23:17:13 +0530 Subject: [PATCH] Fix Syntax error while checking env variable in Makefile (#6464) Signed-off-by: Pulkit Jain --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 938990186d6..e455cad33dc 100644 --- a/Makefile +++ b/Makefile @@ -27,8 +27,8 @@ GOLANGCI_LINT_VERSION := v1.54.0 GOLANGCI_LINT_BINDIR := $(CURDIR)/.golangci-bin GOLANGCI_LINT_BIN := $(GOLANGCI_LINT_BINDIR)/$(GOLANGCI_LINT_VERSION)/golangci-lint -BUILD_TAG := -ifndef $(CUSTOM_BUILD_TAG) +BUILD_TAG := +ifndef CUSTOM_BUILD_TAG BUILD_TAG = $(shell build/images/build-tag.sh) else BUILD_TAG = $(CUSTOM_BUILD_TAG)