summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-12-28 00:37:45 +0100
committerAraq <rumpf_a@web.de>2013-12-28 00:37:45 +0100
commit9c3751a37c1ccba33853fbdab3e87e3af95deec5 (patch)
tree1a2ea166aa1ea67b1614cbebdf23a572130319b1 /koch.nim
parent92b8fac94a7243cde785d985db3fd86b6025b079 (diff)
downloadNim-9c3751a37c1ccba33853fbdab3e87e3af95deec5.tar.gz
case consistency part 5
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/koch.nim b/koch.nim
index 6e0d5bdf2..f09dcb044 100644
--- a/koch.nim
+++ b/koch.nim
@@ -110,16 +110,16 @@ proc findStartNimrod: string =
   # If these fail, we try to build nimrod with the "build.(sh|bat)" script.
   var nimrod = "nimrod".exe
   result = "bin" / nimrod
-  if ExistsFile(result): return
+  if existsFile(result): return
   for dir in split(getEnv("PATH"), PathSep):
-    if ExistsFile(dir / nimrod): return nimrod
+    if existsFile(dir / nimrod): return nimrod
   when defined(Posix):
     const buildScript = "build.sh"
     if ExistsFile(buildScript): 
       if tryExec("./" & buildScript): return "bin" / nimrod
   else:
     const buildScript = "build.bat"
-    if ExistsFile(buildScript): 
+    if existsFile(buildScript): 
       if tryExec(buildScript): return "bin" / nimrod
   
   echo("Found no nimrod compiler and every attempt to build one failed!")
@@ -188,14 +188,14 @@ proc removePattern(pattern: string) =
     removeFile(f)
 
 proc clean(args: string) = 
-  if ExistsFile("koch.dat"): removeFile("koch.dat")
+  if existsFile("koch.dat"): removeFile("koch.dat")
   removePattern("web/*.html")
   removePattern("doc/*.html")
   cleanAux(getCurrentDir())
   for kind, path in walkDir(getCurrentDir() / "build"):
     if kind == pcDir: 
       echo "removing dir: ", path
-      RemoveDir(path)
+      removeDir(path)
 
 # -------------- update -------------------------------------------------------