suggest a compatible shell for running 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 as described fails.
This commit is contained in:
Chris Ayoup 2020-10-12 21:51:05 -04:00
parent febd0086a5
commit 8c28ba39b5

View File

@ -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)