mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
vendor updates
This commit is contained in:
7
vendor/k8s.io/kubernetes/cluster/clientbin.sh
generated
vendored
7
vendor/k8s.io/kubernetes/cluster/clientbin.sh
generated
vendored
@ -84,9 +84,14 @@ function get_bin() {
|
||||
"${KUBE_ROOT}/_output/bin/${bin}"
|
||||
"${KUBE_ROOT}/_output/dockerized/bin/${host_os}/${host_arch}/${bin}"
|
||||
"${KUBE_ROOT}/_output/local/bin/${host_os}/${host_arch}/${bin}"
|
||||
"${KUBE_ROOT}/bazel-bin/${srcdir}/${bin}"
|
||||
"${KUBE_ROOT}/platforms/${host_os}/${host_arch}/${bin}"
|
||||
)
|
||||
# Also search for binary in bazel build tree.
|
||||
# The bazel go rules place binaries in subtrees like
|
||||
# "bazel-bin/source/path/linux_amd64_pure_stripped/binaryname", so make sure
|
||||
# the platform name is matched in the path.
|
||||
locations+=($(find "${KUBE_ROOT}/bazel-bin/${srcdir}" -type f -executable \
|
||||
-path "*/${host_os}_${host_arch}*/${bin}" 2>/dev/null || true) )
|
||||
echo $( (ls -t "${locations[@]}" 2>/dev/null || true) | head -1 )
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user