mirror of https://github.com/k3s-io/k3s
build/common.sh: silence kube::build::has_ip on Mac
parent
4673f6b558
commit
4156ec979b
|
@ -330,7 +330,7 @@ function kube::build::has_docker() {
|
|||
}
|
||||
|
||||
function kube::build::has_ip() {
|
||||
ip -Version | grep 'iproute2' &> /dev/null
|
||||
which ip &> /dev/null && ip -Version | grep 'iproute2' &> /dev/null
|
||||
}
|
||||
|
||||
# Detect if a specific image exists
|
||||
|
|
Loading…
Reference in New Issue