From f2f0bcf8ffac30e5d1ff8562c301cecbb3148b5c Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 24 Nov 2017 14:42:41 +0400 Subject: [PATCH] Fix the path to 'powershell_xxx.inc' in Start-Build (#5538) --- build.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index 60142869d..d770d53e5 100644 --- a/build.psm1 +++ b/build.psm1 @@ -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 }