Fix issue if cfg file is local gProject dir will be an empty string
This commit is contained in:
parent
2f2b26d269
commit
4a83f6d5a1
1 changed files with 1 additions and 1 deletions
|
|
@ -651,7 +651,7 @@ proc runCfg(cfg: string) =
|
||||||
echo "Config doesn't exist: " & cfg
|
echo "Config doesn't exist: " & cfg
|
||||||
quit(1)
|
quit(1)
|
||||||
|
|
||||||
gProjectDir = parentDir(cfg)
|
gProjectDir = parentDir(cfg.expandFilename())
|
||||||
|
|
||||||
gConfig = loadConfig(cfg)
|
gConfig = loadConfig(cfg)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue