mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Update architecture detection method
``` In some OS, obtaining the processor type from `uname - p` may fail. For Golang programs, we should use `go env GOARCH` to obtain the architecture ===================== $ go env GOARCH amd64 $ uname -m x86_64 $ uname -p unknown ``` Signed-off-by: weidongkl <weidong@uniontech.com>
This commit is contained in:
parent
dcf6819877
commit
57a1bb80e5
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -11,7 +11,7 @@ GOBIN = $(shell go env GOPATH)/bin
|
|||
endif
|
||||
GOX = $(GOBIN)/gox
|
||||
GOIMPORTS = $(GOBIN)/goimports
|
||||
ARCH = $(shell uname -p)
|
||||
ARCH = $(shell go env GOARCH)
|
||||
|
||||
ACCEPTANCE_DIR:=../acceptance-testing
|
||||
# To specify the subset of acceptance tests to run. '.' means all tests
|
||||
|
|
|
|||
Loading…
Reference in a new issue