summary refs log tree commit diff stats
path: root/tools/trimcc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tools/trimcc.nim')
-rw-r--r--tools/trimcc.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/trimcc.nim b/tools/trimcc.nim
index 499f04dbd..fd15726a5 100644
--- a/tools/trimcc.nim
+++ b/tools/trimcc.nim
@@ -12,13 +12,13 @@ proc walker(dir: string) =
     of pcFile:

       moveFile(dest=newName(path), source=path)

       # test if installation still works:

-      if execShellCmd(r"nimrod c --force_build tests\tlastmod") == 0:

+      if execShellCmd(r"nimrod c --force_build koch") == 0:

         echo "Optional: ", path

         removeFile(newName(path))

       else:

         echo "Required: ", path

         # copy back:

-        moveFile(path, newName(path))

+        moveFile(dest=path, sourc=newName(path))

     of pcDir:

       walker(path)

     else: nil