From 896f6f2dfc74755a2b81c9d8f096650b3215cd7e Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Tue, 9 Nov 2021 11:28:48 +0100 Subject: [PATCH] Tools: Make clear the used platform in the PowerShell export script --- export.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/export.ps1 b/export.ps1 index 7efc639ca5..ce92c15108 100644 --- a/export.ps1 +++ b/export.ps1 @@ -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 }