Merge pull request #1669 from MiddelkoopT/tm-make-install
Fix make install when sudo does not set PWD
This commit is contained in:
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
### Fixed
|
||||
|
||||
- Fix default nodes.conf to use the new kernel command line list format. #1670
|
||||
- Fix `make install` when `sudo` does not set `$PWD`. #1660
|
||||
|
||||
## v4.6.0rc1, 2025-01-29
|
||||
|
||||
|
||||
@@ -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