Skip to content

Commit 387d62d

Browse files
Merge branch 'main' into bergmeister-patch-1
2 parents 465516d + e93af95 commit 387d62d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.psm1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,13 @@ function Get-DotnetExe
563563
$script:DotnetExe = $dotnetHuntPath
564564
return $dotnetHuntPath
565565
}
566+
567+
$dotnetHuntPath = "/usr/share/dotnet/dotnet"
568+
Write-Verbose -Verbose "checking non-Windows $dotnetHuntPath"
569+
if ( test-path $dotnetHuntPath ) {
570+
$script:DotnetExe = $dotnetHuntPath
571+
return $dotnetHuntPath
572+
}
566573
}
567574

568575
Write-Warning "Could not find dotnet executable"

0 commit comments

Comments
 (0)