mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #104315 from yselkowitz/goflags-fix
Fix build with multiple GOFLAGS
This commit is contained in:
commit
9c7426e14f
@ -807,7 +807,7 @@ kube::golang::build_binaries() {
|
|||||||
|
|
||||||
# extract tags if any specified in GOFLAGS
|
# extract tags if any specified in GOFLAGS
|
||||||
# shellcheck disable=SC2001
|
# shellcheck disable=SC2001
|
||||||
gotags="selinux,notest,$(echo "${GOFLAGS:-}" | sed -e 's|.*-tags=\([^-]*\).*|\1|')"
|
gotags="selinux,notest,$(echo "${GOFLAGS:-}" | sed -ne 's|.*-tags=\([^-]*\).*|\1|p')"
|
||||||
|
|
||||||
local -a targets=()
|
local -a targets=()
|
||||||
local arg
|
local arg
|
||||||
|
Loading…
Reference in New Issue
Block a user