Skip to content

Commit b703e07

Browse files
committed
Change PowerShell source references to .
To source scripts in PowerShell you must use the `.` operator. Unlike bash, `source` is not supported.
1 parent 0ce22e7 commit b703e07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ Activate ESP-IDF PowerShell and enter following command:
126126
```powershell
127127
git clone https://github.com/esp-rs/rust-build.git
128128
cd rust-build
129-
./Install-RustToolchain.ps1 -DefaultHost x86_64-pc-windows-gnu -ExportFile Export-EspRust.ps1
130-
source Export-EspRust.ps1
129+
./Install-RustToolchain.ps1 -DefaultHost x86_64-pc-windows-gnu -ExportFile Export-EspRust.ps1
130+
. ./Export-EspRust.ps1
131131
```
132132

133133
### Windows x86_64 MSVC
@@ -163,7 +163,7 @@ Installation of different versions of toolchain:
163163

164164
```sh
165165
./Install-RustToolchain.ps1 -ToolchainVersion 1.63.0.0 -ExportFile Export-EspRust.ps1
166-
source ./Export-EspRust.ps1
166+
. ./Export-EspRust.ps1
167167
```
168168

169169
## RISC-V Installation

0 commit comments

Comments
 (0)