diff options
author | Araq <rumpf_a@web.de> | 2011-11-29 01:24:58 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-29 01:24:58 +0100 |
commit | e261a88d074038391574402e88737af4752a1041 (patch) | |
tree | 6dfbeb266de2f0b91f0a7f416d6538521ca0892f /compiler/nimconf.nim | |
parent | a489161b1629b2b7347521c8ec67a0e5e812ef6a (diff) | |
download | Nim-e261a88d074038391574402e88737af4752a1041.tar.gz |
further steps to get rid of deprecated endOfFile and readLine
Diffstat (limited to 'compiler/nimconf.nim')
-rwxr-xr-x | compiler/nimconf.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/nimconf.nim b/compiler/nimconf.nim index 18bbe6cb4..fea22f86b 100755 --- a/compiler/nimconf.nim +++ b/compiler/nimconf.nim @@ -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: |