summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-09 14:18:09 +0100
committerGitHub <noreply@github.com>2018-11-09 14:18:09 +0100
commit8507e506cedc24dca91632092f3899602a262276 (patch)
tree73167cb69ae4b5839bf1125d8957f9b9c042e679 /koch.nim
parent573d02760ecf38082c5bae0bdc2b42e4c9f5e0d7 (diff)
downloadNim-8507e506cedc24dca91632092f3899602a262276.tar.gz
change dir when koch starts (#9663)
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim2
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