Merge pull request #14180 from cevich/fix_makefile_path

Cirrus: Fix Makefile including 'hack' in $PATH
This commit is contained in:
OpenShift Merge Robot
2022-05-10 13:33:57 -04:00
committed by GitHub

View File

@ -134,7 +134,8 @@ ifeq ($(GOBIN),)
GOBIN := $(FIRST_GOPATH)/bin
endif
export PATH := $(PATH):$(GOBIN):$(CURDIR)/hack
# This must never include the 'hack' directory
export PATH := $(PATH):$(GOBIN)
GOMD2MAN ?= $(shell command -v go-md2man || echo './test/tools/build/go-md2man')