Skip to content

Commit 74530ad

Browse files
committed
Auto merge of #6166 - achris:master, r=flip1995
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
2 parents 3d35072 + 8c28ba3 commit 74530ad

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)