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')]
|
||||
[string]$Configuration = "Release"
|
||||
)
|
||||
if($root -ieq $PSScriptRoot)
|
||||
if ($root.FullName -ieq $PSScriptRoot)
|
||||
{
|
||||
return Join-Path -Path $PSScriptRoot -ChildPath "OpenSSH$($Configuration)$($NativeHostArch).log"
|
||||
} else {
|
||||
|
@ -707,7 +707,7 @@ function Get-SolutionFile
|
|||
[ValidateNotNull()]
|
||||
[System.IO.DirectoryInfo] $root
|
||||
)
|
||||
if($root -ieq $PSScriptRoot)
|
||||
if ($root.FullName -ieq $PSScriptRoot)
|
||||
{
|
||||
return Join-Path -Path $PSScriptRoot -ChildPath "Win32-OpenSSH.sln"
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue