Fix issue if build dir not created
This commit is contained in:
parent
142a2ae01b
commit
47165af14c
1 changed files with 2 additions and 1 deletions
|
|
@ -303,10 +303,11 @@ proc processArgs() =
|
|||
buildInfo.name = buildInfo.filename.splitFile().name
|
||||
|
||||
if buildInfo.outDir == "":
|
||||
buildInfo.outDir = expandFilename("build")
|
||||
buildInfo.outDir = "build"
|
||||
|
||||
if not dirExists buildInfo.outDir:
|
||||
createDir buildInfo.outDir
|
||||
buildInfo.outDir = expandFilename(buildInfo.outDir)
|
||||
|
||||
if buildInfo.dkpPath == "":
|
||||
buildInfo.dkpPath = getEnv(dkpEnv, "").sanitizePath()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue