Skip to content

Commit 9c80566

Browse files
committed
Fix Get-BuildDirectory to always return absolute path
1 parent 761184f commit 9c80566

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extension/BuildPhpExtension/private/Get-BuildDirectory.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Function Get-BuildDirectory {
2121
}
2222
}
2323

24+
$ParentBuildDirectory = [System.IO.Path]::GetFullPath($ParentBuildDirectory)
25+
2426
$buildDirectory = [System.Guid]::NewGuid().ToString().substring(0, 8)
2527

2628
$buildDirectoryPath = [System.IO.Path]::Combine($ParentBuildDirectory, $buildDirectory)

0 commit comments

Comments
 (0)