From e49d6af4e16568da4a9c387560b505c35a8783fa Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 16 Jul 2023 01:48:53 +0200 Subject: [PATCH] Fix typo --- scripts/Windows/Scripts/SoftwarePackage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/SoftwarePackage.ps1 b/scripts/Windows/Scripts/SoftwarePackage.ps1 index 91ea1365..abac34ed 100644 --- a/scripts/Windows/Scripts/SoftwarePackage.ps1 +++ b/scripts/Windows/Scripts/SoftwarePackage.ps1 @@ -7,7 +7,7 @@ function Install-SoftwarePackage([Context] $context, [string] $location, [string if (-not ($local.IsPresent)) { Write-Information "Determining the file name of $location"; $tempDir = $context.GetTempDirectory(); - $request = [System.Net.WebRequest]::Create($url); + $request = [System.Net.WebRequest]::Create($location); $request.AllowAutoRedirect = $false; $response = $request.GetResponse(); $fileName = [System.IO.Path]::GetFileName($response.GetResponseHeader("Location"));