From 4156ec979b4fa3013d9bda7edc5d951538cc36cd Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Mon, 16 Oct 2017 14:36:49 +0200 Subject: [PATCH] build/common.sh: silence kube::build::has_ip on Mac --- build/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/common.sh b/build/common.sh index b9c80fef0ac..750440dcd13 100755 --- a/build/common.sh +++ b/build/common.sh @@ -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