fix #18334: handle path with spaces on windows during bootstrap (#18337)

This commit is contained in:
Timothee Cour 2021-06-24 00:58:11 -07:00 • committed by GitHub
commit 55c1953f63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 13 deletions

View file

@ -308,7 +308,7 @@ proc boot(args: string) =
var nimi = i.thVersion
if i == 0:
nimi = nimStart
extraOption.add " --skipUserCfg --skipParentCfg"
extraOption.add " --skipUserCfg --skipParentCfg -d:nimKochBootstrap"
# The configs are skipped for bootstrap
# (1st iteration) to prevent newer flags from breaking bootstrap phase.
let ret = execCmdEx(nimStart & " --version")