mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Tools: Make clear the used platform in the PowerShell export script
This commit is contained in:
parent
ddf79c2be9
commit
896f6f2dfc
@ -24,7 +24,8 @@ foreach ($line in $envars_raw) {
|
||||
}
|
||||
|
||||
if ($IsWindows -eq $null) {
|
||||
# $IsWindows was added in PowerShell Core 6 and PowerShell 7.
|
||||
# $IsWindows was added in PowerShell Core 6 and PowerShell 7 together with multi-platform support. # I.E. if this
|
||||
# internal variable is not set then PowerShell 5 is used and # the platform cannot be # anything else than Windows.
|
||||
$IsWindows = $true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user