mirror of
https://github.com/k8snetworkplumbingwg/whereabouts.git
synced 2025-06-03 06:42:26 +00:00
Fix typo in hack/build-go.sh
s/GOACH/GOARCH
This commit is contained in:
parent
0308eaba0a
commit
5e8cafde59
@ -3,7 +3,7 @@ set -eu
|
||||
cmd=whereabouts
|
||||
eval $(go env | grep -e "GOHOSTOS" -e "GOHOSTARCH")
|
||||
GOOS=${GOOS:-${GOHOSTOS}}
|
||||
GOARCH=${GOACH:-${GOHOSTARCH}}
|
||||
GOARCH=${GOARCH:-${GOHOSTARCH}}
|
||||
GOFLAGS=${GOFLAGS:-}
|
||||
GLDFLAGS=${GLDFLAGS:-}
|
||||
CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} go build ${GOFLAGS} -ldflags "${GLDFLAGS}" -o bin/${cmd} cmd/${cmd}.go
|
||||
|
Loading…
Reference in New Issue
Block a user