From 8507e506cedc24dca91632092f3899602a262276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20D=C3=B6ring?= Date: Fri, 9 Nov 2018 14:18:09 +0100 Subject: [PATCH] change dir when koch starts (#9663) --- koch.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koch.nim b/koch.nim index 0c33b9c8d9..6d32e8edb0 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