diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1 index 071b2e9c6..797dbe801 100755 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -38,7 +38,7 @@ param ( throw 'Unsupported platform' } - $temppath = ($env:TMP, $env:TEMP, "$(Get-Location)" -ne $null)[0] + $temppath = ([System.IO.Path]::GetTempPath(), $env:TMP, $env:TEMP, "$(Get-Location)" -ne $null)[0] [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls" if ($null -eq $installdir -or $installdir -match '^\s*$') { |
