From 92772d2f69810afcb6f1ff61389a706c961cd6b4 Mon Sep 17 00:00:00 2001 From: Frank Ederveen Date: Mon, 25 Sep 2017 20:01:11 +0100 Subject: [PATCH] 226: use curl for OSX downloads --- docs/02-client-tools.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/docs/02-client-tools.md b/docs/02-client-tools.md index ba681dc..bfecdb3 100644 --- a/docs/02-client-tools.md +++ b/docs/02-client-tools.md @@ -12,21 +12,16 @@ Download and install `cfssl` and `cfssljson` from the [cfssl repository](https:/ ### OS X ``` -wget -q --show-progress --https-only --timestamping \ - https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64 \ - https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64 +curl -o cfssl https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64 +curl -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64 ``` ``` -chmod +x cfssl_darwin-amd64 cfssljson_darwin-amd64 +chmod +x cfssl cfssljson ``` ``` -sudo mv cfssl_darwin-amd64 /usr/local/bin/cfssl -``` - -``` -sudo mv cfssljson_darwin-amd64 /usr/local/bin/cfssljson +sudo mv cfssl cfssljson /usr/local/bin/ ``` ### Linux @@ -74,7 +69,7 @@ The `kubectl` command line utility is used to interact with the Kubernetes API S ### OS X ``` -wget https://storage.googleapis.com/kubernetes-release/release/v1.7.4/bin/darwin/amd64/kubectl +curl -o kubectl https://storage.googleapis.com/kubernetes-release/release/v1.7.4/bin/darwin/amd64/kubectl ``` ```