diff options
Diffstat (limited to 'tools/finish.nim')
-rw-r--r-- | tools/finish.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/finish.nim b/tools/finish.nim index 6dd55793b..ccbb698f4 100644 --- a/tools/finish.nim +++ b/tools/finish.nim @@ -225,6 +225,8 @@ proc main() = if x.len == 0: continue let y = try: expandFilename(if x[0] == '"' and x[^1] == '"': substr(x, 1, x.len-2) else: x) + except OSError as e: + if e.errorCode == 0: x else: "" except: "" if y.cmpIgnoreCase(nimDesiredPath) == 0: nimAlreadyInPath = true |