From 2bdffc7569a3fea62696ddc991e1d619a64361cd Mon Sep 17 00:00:00 2001 From: Dmitry Bashkatov Date: Mon, 21 Nov 2016 17:51:41 +0300 Subject: [PATCH] scripts/tls: Fix kube-conf for darwin OS type --- scripts/tls/kube-conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tls/kube-conf b/scripts/tls/kube-conf index 1b8433a8..2376d899 100755 --- a/scripts/tls/kube-conf +++ b/scripts/tls/kube-conf @@ -6,7 +6,7 @@ function usage { } function base64_encode { - if [[ "$OSTYPE" == "darwin" ]]; then + if [[ "$OSTYPE" == darwin* ]]; then base64 $1 else base64 -w 0 $1