Fix make install when sudo does not set PWD
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
This commit is contained in:
committed by
Jonathon Anderson
parent
15249c5e83
commit
84ff9800ff
@@ -75,7 +75,7 @@ CONFIG := $(shell pwd)
|
||||
IPXESOURCE ?= $(PREFIX)/share/ipxe
|
||||
|
||||
# helper functions
|
||||
godeps=$(shell 2>/dev/null go list -mod vendor -deps -f '{{if not .Standard}}{{ $$dep := . }}{{range .GoFiles}}{{$$dep.Dir}}/{{.}} {{end}}{{end}}' $(1) | sed "s%${PWD}/%%g")
|
||||
godeps=$(shell 2>/dev/null go list -mod vendor -deps -f '{{if not .Standard}}{{ $$dep := . }}{{range .GoFiles}}{{$$dep.Dir}}/{{.}} {{end}}{{end}}' $(1) | sed "s%$(shell pwd)/%%g")
|
||||
|
||||
# use GOPROXY for older git clients and speed up downloads
|
||||
GOPROXY ?= https://proxy.golang.org
|
||||
|
||||
Reference in New Issue
Block a user