diff --git a/README.md b/README.md index e6c9b043..1be14513 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ No prerequisites are needed for macOS. git clone https://github.com/esp-rs/rust-build.git cd rust-build ./install-rust-toolchain.sh -. export-esp.sh +. ./export-esp.sh ``` Run `./install-rust-toolchain.sh --help` for more information about arguments. @@ -81,7 +81,7 @@ Installation of different version of the toolchain: ``` ./install-rust-toolchain.sh --toolchain-version 1.65.0.0 -. export-esp.sh +. ./export-esp.sh ``` #### Set up the environment variables diff --git a/install-rust-toolchain.sh b/install-rust-toolchain.sh index 56921ce9..9eb27457 100755 --- a/install-rust-toolchain.sh +++ b/install-rust-toolchain.sh @@ -637,7 +637,7 @@ printf "\n If you want to activate the environment required for Rust in ESP SoC' printf "\n However, it is not recommended, as doing so activates the virtual environment in every terminal session (including those where is not needed), defeating the purpose of the virtual environment and likely affecting other software." if [[ -n "${EXPORT_FILE:-}" ]]; then - printf "\n The recommended approach is to source the export file: \". ${EXPORT_FILE}\"" + printf "\n The recommended approach is to source the export file: \". ./${EXPORT_FILE}\"" printf "\n Note: This should be done in every terminal session.\n" echo -n "" >"${EXPORT_FILE}" if [[ ${IS_XTENSA_INSTALLED} -eq 1 ]]; then