mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
check the full name of the root instead of directory info (#342)
This commit is contained in:
parent
06ba674c67
commit
9e983eadf6
@ -691,7 +691,7 @@ function Get-BuildLogFile
|
|||||||
[ValidateSet('Debug', 'Release')]
|
[ValidateSet('Debug', 'Release')]
|
||||||
[string]$Configuration = "Release"
|
[string]$Configuration = "Release"
|
||||||
)
|
)
|
||||||
if($root -ieq $PSScriptRoot)
|
if ($root.FullName -ieq $PSScriptRoot)
|
||||||
{
|
{
|
||||||
return Join-Path -Path $PSScriptRoot -ChildPath "OpenSSH$($Configuration)$($NativeHostArch).log"
|
return Join-Path -Path $PSScriptRoot -ChildPath "OpenSSH$($Configuration)$($NativeHostArch).log"
|
||||||
} else {
|
} else {
|
||||||
@ -707,7 +707,7 @@ function Get-SolutionFile
|
|||||||
[ValidateNotNull()]
|
[ValidateNotNull()]
|
||||||
[System.IO.DirectoryInfo] $root
|
[System.IO.DirectoryInfo] $root
|
||||||
)
|
)
|
||||||
if($root -ieq $PSScriptRoot)
|
if ($root.FullName -ieq $PSScriptRoot)
|
||||||
{
|
{
|
||||||
return Join-Path -Path $PSScriptRoot -ChildPath "Win32-OpenSSH.sln"
|
return Join-Path -Path $PSScriptRoot -ChildPath "Win32-OpenSSH.sln"
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user