summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAmrykid <amrykid@gmail.com>2011-12-27 08:59:31 -0600
committerAmrykid <amrykid@gmail.com>2011-12-27 08:59:31 -0600
commit3321523ee4d12ee3db89a69f5ea381c2ad3440ed (patch)
tree7d0cbce4345c845fd99ca209af5f3297c3b873bc /koch.nim
parentd0d0c79540c4c887935b39c3ced5fdf01f2900d1 (diff)
downloadNim-3321523ee4d12ee3db89a69f5ea381c2ad3440ed.tar.gz
Last bits, etc.
Diffstat (limited to 'koch.nim')
-rwxr-xr-xkoch.nim6
1 files changed, 4 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim
index 98c9b7202..98067404b 100755
--- a/koch.nim
+++ b/koch.nim
@@ -90,10 +90,11 @@ proc update(args: string) =
 
   var thisDir = getAppDir()
   var git = findExe("git")
-  echo("Checking for git repo...")
+  echo("Checking for git repo and git executable...")
   if existsDir(thisDir & "/.git") and git != "":
     echo("Git repo found!")
     # use git to download latest source
+    echo("Checking for updates...")
     discard startCmd(git & " fetch origin master")
     var procs = startCmd(git & " diff origin/master master")
     var errcode = procs.waitForExit()
@@ -119,7 +120,7 @@ proc update(args: string) =
         return
     
   else:
-    
+    echo("No repo or executable found!")
     when defined(haveZipLib):
       echo("Falling back.. Downloading source code from repo...")
       # use dom96's httpclient to download zip
@@ -143,6 +144,7 @@ proc update(args: string) =
 
 
 
+
 # -------------- boot ---------------------------------------------------------
 
 const