Skip to content

Commit 8c28ba3

Browse files
committed
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.
1 parent febd008 commit 8c28ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/basics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ this toolchain, you can just use the `setup-toolchain.sh` script or use
4646
`rustup-toolchain-install-master`:
4747

4848
```bash
49-
sh setup-toolchain.sh
49+
bash setup-toolchain.sh
5050
# OR
5151
cargo install rustup-toolchain-install-master
5252
# For better IDE integration also add `-c rustfmt -c rust-src` (optional)

0 commit comments

Comments
 (0)