scripts/tls: Fix kube-conf for darwin OS type

This commit is contained in:
Dmitry Bashkatov
2016-11-21 17:51:41 +03:00
committed by Dalton Hubble
parent 43cf9cba66
commit 2bdffc7569

View File

@@ -6,7 +6,7 @@ function usage {
}
function base64_encode {
if [[ "$OSTYPE" == "darwin" ]]; then
if [[ "$OSTYPE" == darwin* ]]; then
base64 $1
else
base64 -w 0 $1