further steps to get rid of deprecated endOfFile and readLine

This commit is contained in:
Araq 2011-11-29 01:24:58 +01:00
commit e261a88d07
11 changed files with 35 additions and 21 deletions

View file

@ -219,8 +219,8 @@ proc LoadConfigs*(cfg = "nimrod.cfg") =
if libpath == "":
# choose default libpath:
var prefix = getPrefixDir()
if (prefix == "/usr"): libpath = "/usr/lib/nimrod"
elif (prefix == "/usr/local"): libpath = "/usr/local/lib/nimrod"
if prefix == "/usr": libpath = "/usr/lib/nimrod"
elif prefix == "/usr/local": libpath = "/usr/local/lib/nimrod"
else: libpath = joinPath(prefix, "lib")
if optSkipConfigFile notin gGlobalOptions: