diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-11-09 14:18:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-09 14:18:09 +0100 |
commit | 8507e506cedc24dca91632092f3899602a262276 (patch) | |
tree | 73167cb69ae4b5839bf1125d8957f9b9c042e679 /koch.nim | |
parent | 573d02760ecf38082c5bae0bdc2b42e4c9f5e0d7 (diff) | |
download | Nim-8507e506cedc24dca91632092f3899602a262276.tar.gz |
change dir when koch starts (#9663)
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/koch.nim b/koch.nim index 0c33b9c8d..6d32e8edb 100644 --- a/koch.nim +++ b/koch.nim @@ -79,6 +79,8 @@ template withDir(dir, body) = finally: setCurrentdir(old) +setCurrentDir(getAppDir()) + proc tryExec(cmd: string): bool = echo(cmd) result = execShellCmd(cmd) == 0 |