Add "eval" to every invocation of "boot2docker shellinit"

See http://unix.stackexchange.com/a/181581 for the rationale behind this change.

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
Tianon Gravi 2015-03-16 18:21:32 -06:00 committed by Tibor Vass
parent 3359add082
commit fd05b908be
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ also update the root docs pages by running
> if you are using Boot2Docker on OSX and the above command returns an error, > if you are using Boot2Docker on OSX and the above command returns an error,
> `Post http:///var/run/docker.sock/build?rm=1&t=docker-docs%3Apost-1.2.0-docs_update-2: > `Post http:///var/run/docker.sock/build?rm=1&t=docker-docs%3Apost-1.2.0-docs_update-2:
> dial unix /var/run/docker.sock: no such file or directory', you need to set the Docker > dial unix /var/run/docker.sock: no such file or directory', you need to set the Docker
> host. Run `$(boot2docker shellinit)` to see the correct variable to set. The command > host. Run `eval "$(boot2docker shellinit)"` to see the correct variable to set. The command
> will return the full `export` command, so you can just cut and paste. > will return the full `export` command, so you can just cut and paste.
## Cherry-picking documentation changes to update an existing release. ## Cherry-picking documentation changes to update an existing release.