summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-05-03 13:59:00 -0400
committerMatthew Heon <mheon@redhat.com>2022-06-14 13:14:40 -0400
commit484f1834ab17a2ccb56ed05dfbf50941a2e58d25 (patch)
tree4d2af2b76cd3ea7a7123188ff4c4538cfb27ff87
parentce407828d029f189ebb0649ac724bc4b4066e79d (diff)
downloadpodman-484f1834ab17a2ccb56ed05dfbf50941a2e58d25.tar.gz
podman-484f1834ab17a2ccb56ed05dfbf50941a2e58d25.tar.bz2
podman-484f1834ab17a2ccb56ed05dfbf50941a2e58d25.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 bf60d26c8..66d1a94ff 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 '$(GOBIN)/go-md2man')