Fix the path to 'powershell_xxx.inc' in Start-Build (#5538)

This commit is contained in:
Ilya 2017-11-24 14:42:41 +04:00 committed by Dongbo Wang
parent 71e588d223
commit d8e1f8dff3

View file

@ -510,7 +510,7 @@ Fix steps:
# Handle TypeGen
# .inc file name must be different for Windows and Linux to allow build on Windows and WSL.
$incFileName = "powershell_$($Options.Runtime).inc"
if ($TypeGen -or -not (Test-Path "$PSScriptRoot/TypeCatalogGen/$incFileName")) {
if ($TypeGen -or -not (Test-Path "$PSScriptRoot/src/TypeCatalogGen/$incFileName")) {
log "Run TypeGen (generating CorePsTypeCatalog.cs)"
Start-TypeGen -IncFileName $incFileName
}