Skip to content

Commit

Permalink
Uses dollar notation instead of
Browse files Browse the repository at this point in the history
  • Loading branch information
orfin committed Jul 17, 2017
1 parent f6b72b9 commit 7647c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ wget https://github.com/Droplr/aws-env/raw/master/bin/aws-env-linux-amd64 -O a
* `AWS_ENV_PATH` - path of parameters. If it won't be provided, aws-env will exit immediately. That way, you can run your Dockerfiles locally.
* `AWS_REGION` and AWS Credentials - [configuring credentials](https://github.com/aws/aws-sdk-go#configuring-credentials)
```
$ eval `AWS_ENV_PATH=/prod/my-app/ AWS_REGION=us-west-2 ./aws-env` && node -e "console.log(process.env)"
$ eval $(AWS_ENV_PATH=/prod/my-app/ AWS_REGION=us-west-2 ./aws-env) && node -e "console.log(process.env)"
```


Expand All @@ -45,7 +45,7 @@ RUN apk update && apk upgrade && \
RUN wget https://github.com/Droplr/aws-env/raw/master/bin/aws-env-linux-amd64 -O /bin/aws-env && \
chmod +x /bin/aws-env
CMD eval `aws-env` && node -e "console.log(process.env)"
CMD eval $(aws-env) && node -e "console.log(process.env)"
```

```
Expand Down

0 comments on commit 7647c34

Please sign in to comment.