mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08: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:
3
Makefile
3
Makefile
@ -134,7 +134,8 @@ ifeq ($(GOBIN),)
|
|||||||
GOBIN := $(FIRST_GOPATH)/bin
|
GOBIN := $(FIRST_GOPATH)/bin
|
||||||
endif
|
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')
|
GOMD2MAN ?= $(shell command -v go-md2man || echo './test/tools/build/go-md2man')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user