mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
add extra locations to check for release-tars
This commit is contained in:
parent
e6acd1caf5
commit
1ee8183903
@ -308,6 +308,8 @@ function find-tar() {
|
||||
locations=(
|
||||
"${KUBE_ROOT}/node/${tarball}"
|
||||
"${KUBE_ROOT}/server/${tarball}"
|
||||
"${KUBE_ROOT}/kubernetes/node/${tarball}"
|
||||
"${KUBE_ROOT}/kubernetes/server/${tarball}"
|
||||
"${KUBE_ROOT}/_output/release-tars/${tarball}"
|
||||
)
|
||||
location=$( (ls -t "${locations[@]}" 2>/dev/null || true) | head -1 )
|
||||
|
Loading…
Reference in New Issue
Block a user