Skip to content

Commit 432fefb

Browse files
authored
Change PowerShell source references to . (#133)
To source scripts in PowerShell you must use the `.` operator. Unlike bash, `source` is not supported.
1 parent 0ce22e7 commit 432fefb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
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)