Robustify kubectl download commands

`{K8S_VERSION}` gets auto-replaced with `\{K8S_VERSION\}` when pasting into a terminal. Encapsulating in double quotes avoids this.
This commit is contained in:
Craig Quiter
2016-04-28 18:39:44 -07:00
parent ebb5a5d61f
commit c7adc28cf4
+2 -2
View File
@@ -73,7 +73,7 @@ variable.
For example, OS X: For example, OS X:
```shell ```shell
curl -O http://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/darwin/amd64/kubectl curl -O "http://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/darwin/amd64/kubectl"
chmod 755 kubectl chmod 755 kubectl
PATH=$PATH:`pwd` PATH=$PATH:`pwd`
``` ```
@@ -81,7 +81,7 @@ PATH=$PATH:`pwd`
Linux: Linux:
```shell ```shell
wget http://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/linux/amd64/kubectl wget "http://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/linux/amd64/kubectl"
chmod 755 kubectl chmod 755 kubectl
PATH=$PATH:`pwd` PATH=$PATH:`pwd`
``` ```