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