Commit b38e1148 authored by Paul Morie's avatar Paul Morie

Suppress output from running which sw_vers

parent 17e36b02
...@@ -740,7 +740,7 @@ function kube-up { ...@@ -740,7 +740,7 @@ function kube-up {
# curl in mavericks is borked. # curl in mavericks is borked.
secure="" secure=""
if which sw_vers > /dev/null; then if which sw_vers >& /dev/null; then
if [[ $(sw_vers | grep ProductVersion | awk '{print $2}') = "10.9."* ]]; then if [[ $(sw_vers | grep ProductVersion | awk '{print $2}') = "10.9."* ]]; then
secure="--insecure" secure="--insecure"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment