Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
c-blake committed Mar 21, 2021
1 parent eb32f9b commit 0b7bf3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion procs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ when isMainModule: ### DRIVE COMMAND-LINE INTERFACE
let underJoin = strutils.toUpperAscii(cmdNames.join("_"))
var cfPath = os.getEnv(underJoin & "_CONFIG") #See if cfg file redirect
if cfPath.len == 0: #..else use getConfigDir
cfPath = os.getConfigDir() & cmdNames[0] & "/config" #See if dir w/cfg
cfPath = os.getConfigDir() / cmdNames[0] / "config" #See if dir w/cfg
if not existsFile(cfPath): cfPath = cfPath[0..^8] #..else use file
result.add cfToCL(cfPath, if cmdNames.len > 1: cmdNames[1] else: "",
quiet=true, noRaise=true)
Expand Down

0 comments on commit 0b7bf3b

Please sign in to comment.