From 185cc0b16ea16aa10ce23c5442dc2ed35d3247ed Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Fri, 16 Oct 2020 10:26:41 -0700 Subject: [PATCH] Fix typo in icon file path --- build.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index cc98393..63bee71 100644 --- a/build.psm1 +++ b/build.psm1 @@ -595,7 +595,7 @@ function Start-BuildPowerShellNativePackage '@ $iconFileName = "Powershell_black_64.png" - $iconPath = Join-Path $pwd -ChildPath "assets\$iconFileName" -Resolve + $iconPath = Join-Path $PSScriptRoot -ChildPath "assets\$iconFileName" -Resolve $Nuspec -f $Version, $iconPath | Out-File -FilePath (Join-Path $PackageRoot -ChildPath 'Microsoft.PowerShell.Native.nuspec') -Force