fixes #786
This commit is contained in:
parent
4886cde781
commit
f2d6edd861
1 changed files with 2 additions and 0 deletions
|
|
@ -269,6 +269,8 @@ proc processPath(path: string, info: TLineInfo,
|
||||||
"config", info.toFullPath().splitFile().dir,
|
"config", info.toFullPath().splitFile().dir,
|
||||||
"projectname", options.gProjectName,
|
"projectname", options.gProjectName,
|
||||||
"projectpath", options.gProjectPath])
|
"projectpath", options.gProjectPath])
|
||||||
|
if '~' in result:
|
||||||
|
result = result.replace("~", os.getHomeDir())
|
||||||
except ValueError:
|
except ValueError:
|
||||||
localError(info, "invalid path: " & p)
|
localError(info, "invalid path: " & p)
|
||||||
result = p
|
result = p
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue