This commit is contained in:
Andreas Rumpf
2016-05-30 21:18:59 +02:00
parent 4886cde781
commit f2d6edd861

View File

@@ -269,6 +269,8 @@ proc processPath(path: string, info: TLineInfo,
"config", info.toFullPath().splitFile().dir,
"projectname", options.gProjectName,
"projectpath", options.gProjectPath])
if '~' in result:
result = result.replace("~", os.getHomeDir())
except ValueError:
localError(info, "invalid path: " & p)
result = p