mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-24 14:57:35 +00:00
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>
This commit is contained in:
parent
ce407828d0
commit
484f1834ab
1 changed files with 2 additions and 1 deletions
3
Makefile
3
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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue