summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-05-03 13:59:00 -0400
committerChris Evich <cevich@redhat.com>2022-05-10 10:49:32 -0400
commit9ffc2a6ac7b922cad5c6d536e537bb96b9cfdae6 (patch)
tree84cab8a1267dabe494ad67c4879ec558edc3ec3d
parent18713f589c1ed9144d873f2656f2067ebf6f3ba2 (diff)
downloadpodman-9ffc2a6ac7b922cad5c6d536e537bb96b9cfdae6.tar.gz
podman-9ffc2a6ac7b922cad5c6d536e537bb96b9cfdae6.tar.bz2
podman-9ffc2a6ac7b922cad5c6d536e537bb96b9cfdae6.zip
Cirrus: Fix Makefile including 'hack' in $PATH
This path should never, ever, ever be included in `$PATH` as it is almost guaranteed to cause serious and non-obvious breakage in CI. Fix it and include a warning comment. Signed-off-by: Chris Evich <cevich@redhat.com>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 51b3d6d96..6ea207bca 100644
--- a/Makefile
+++ b/Makefile
@@ -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')