Skip to content

Commit

Permalink
Auto merge of rust-lang#6166 - achris:master, r=flip1995
Browse files Browse the repository at this point in the history
Suggest a compatible shell for setup-toolchain.sh

setup-toolchain.sh uses "[[" which is a bash builtin, but the guide
suggests running it with sh.  On Ubuntu, /bin/sh points to dash and
running the script fails.

---

*Please keep the line below*
changelog: none
  • Loading branch information
bors committed Oct 19, 2020
2 parents 3d35072 + 8c28ba3 commit 74530ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/basics.md
Expand Up @@ -46,7 +46,7 @@ this toolchain, you can just use the `setup-toolchain.sh` script or use
`rustup-toolchain-install-master`:

```bash
sh setup-toolchain.sh
bash setup-toolchain.sh
# OR
cargo install rustup-toolchain-install-master
# For better IDE integration also add `-c rustfmt -c rust-src` (optional)
Expand Down

0 comments on commit 74530ad

Please sign in to comment.