Skip to content

Commit

Permalink
Merge pull request moby#11429 from tianon/eval-shellinit
Browse files Browse the repository at this point in the history
Add "eval" to every invocation of "boot2docker shellinit"
  • Loading branch information
jamtur01 committed Mar 17, 2015
2 parents da24ba4 + 200123b commit 97a5c58
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
> `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
> 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.
## Cherry-picking documentation changes to update an existing release.
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/installation/mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Initialize and run `boot2docker` from the command line, do the following:

4. To set the environment variables in your shell do the following:

$ $(boot2docker shellinit)
$ eval "$(boot2docker shellinit)"
You can also set them manually by using the `export` commands `boot2docker`
returns.
Expand Down
4 changes: 2 additions & 2 deletions docs/sources/project/set-up-dev-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ environment.
1. Open a terminal.

Mac users, use `boot2docker status` to make sure Boot2Docker is running. You
may need to run `$(boot2docker shellinit)` to initialize your shell
may need to run `eval "$(boot2docker shellinit)"` to initialize your shell
environment.

3. Change into the root of your forked repository.
Expand Down Expand Up @@ -202,7 +202,7 @@ build and run a `docker` binary in your container.

![Multiple terminals](/project/images/three_terms.png)

Mac OSX users, make sure you run `$(boot2docker shellinit)` in any new
Mac OSX users, make sure you run `eval "$(boot2docker shellinit)"` in any new
terminals.

2. In a terminal, create a new container from your `dry-run-test` image.
Expand Down

0 comments on commit 97a5c58

Please sign in to comment.