diff options
| author | Chris Ayoup <chris@achris.net> | 2020-10-12 21:51:05 -0400 |
|---|---|---|
| committer | Chris Ayoup <chris@achris.net> | 2020-10-12 21:56:37 -0400 |
| commit | 8c28ba39b573c0d9be2ce7aa3cfc60757f3c81e6 (patch) | |
| tree | 89b6578d5a55cf41d60f2adce360870d452bb2a4 | |
| parent | febd0086a5ea6475d8243c7651908ddd96711896 (diff) | |
| download | rust-8c28ba39b573c0d9be2ce7aa3cfc60757f3c81e6.tar.gz rust-8c28ba39b573c0d9be2ce7aa3cfc60757f3c81e6.zip | |
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.
| -rw-r--r-- | doc/basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/basics.md b/doc/basics.md index 38959e2331b..f25edb793e2 100644 --- a/doc/basics.md +++ b/doc/basics.md @@ -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) |
