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:
parent
febd0086a5
commit
8c28ba39b5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user