summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
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