Skip to content

Commit

Permalink
Better installation instruction in release notes
Browse files Browse the repository at this point in the history
Changed sample download script to use the built in `-o` optoin in `curl` instead of redicrecting stdout's output.

This allows users to prepend `sudo` to the snippet to make it work in common use cases where root permissions are needed to create the output file.

From `curl`:
    -o, --output <file>
              Write output to <file> instead of stdout.

Signed-off-by: Reut Sharabani <reut.sharabani@gmail.com>
  • Loading branch information
reutsharabani authored and shin- committed Dec 7, 2017
1 parent eb51f0f commit 7dfb856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/RELEASE-PROCESS.md
Expand Up @@ -89,7 +89,7 @@ When prompted build the non-linux binaries and test them.
Alternatively, you can use the usual commands to install or upgrade Compose:

```
curl -L https://github.com/docker/compose/releases/download/1.16.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
curl -L https://github.com/docker/compose/releases/download/1.16.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
```

Expand Down

0 comments on commit 7dfb856

Please sign in to comment.