This commit is contained in:
Andreas Rumpf
2016-07-18 13:52:27 +02:00
parent f1e77d3124
commit 3193a99b13

View File

@@ -584,7 +584,7 @@ when declared(getEnv) or defined(nimscript):
if existsFile(x):
when not defined(windows) and declared(os):
while followSymlinks: # doubles as if here
if x.checkSymlink:
if x.isAbsolute and x.checkSymlink:
var r = newString(256)
var len = readlink(x, r, 256)
if len < 0: