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

View file

@ -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