Skip to content

Commit

Permalink
Fix bash command
Browse files Browse the repository at this point in the history
  • Loading branch information
brikis98 committed May 9, 2016
1 parent 273c280 commit 6881e8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ gruntwork-install --module-name 'vault-ssh-helper' --tag '0.0.3'
## Installing gruntwork-install

```bash
curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash -s --version 0.0.1
curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.2
```

Notice the `--version` parameter at the end where you specify which version of `gruntwork-install` to install. See the
Expand Down Expand Up @@ -77,7 +77,7 @@ and then uses it to install several modules:
}],
"provisioners": [{
"type": "shell",
"inline": "curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash -s --version 0.0.1"
"inline": "curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.2"
},{
"type": "shell",
"inline": [
Expand Down
6 changes: 3 additions & 3 deletions bootstrap-gruntwork-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# So instead, we recommend that clients use this tiny bootstrap script as a one-liner:
#
# curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash -s --version 0.0.12
# curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.3
#
# You can copy this one-liner into your Packer and Docker templates and immediately after, start using the
# gruntwork-install command.
Expand Down Expand Up @@ -40,10 +40,10 @@ function print_usage {
echo "Examples:"
echo
echo " Install version 0.0.3:"
echo " bootstrap-gruntwork-installer.sh --version=0.0.3"
echo " bootstrap-gruntwork-installer.sh --version 0.0.3"
echo
echo " One-liner to download this bootstrap script from GitHub and run it to install version 0.0.3:"
echo " curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash -s --version=0.0.3"
echo " curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.3"
}

function command_exists {
Expand Down

0 comments on commit 6881e8c

Please sign in to comment.