Skip to content

Commit

Permalink
update script to have $_ like it should
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Feb 1, 2023
1 parent d181121 commit 678df1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ elseif("$($Rid)".Contains("osx")){
# a mac system. However, the `codesign` command is only available on a MacOS agent. With that being the case, we simply special case
# this function here to ensure that the script does not fail outside of a MacOS agent.
if ($IsMacOS) {
$binaryFile = Get-ChildItem -Path $outputPath | Where-Object { _.Name -eq $AssemblyName } | Select-Object -First 1
$binaryFile = Get-ChildItem -Path $outputPath | Where-Object { $_.Name -eq $AssemblyName } | Select-Object -First 1
$binaryFileBash = $binaryFile.ToString().Replace("`\","/")

$entitlements = (Resolve-Path -Path (Join-Path $PSScriptRoot ".." ".." ".." "dotnet-executable-entitlements.plist")).ToString().Replace("`\", "/")
Expand Down

0 comments on commit 678df1d

Please sign in to comment.