anchor.diff:  
   :end
   
  +echo ----------- Nightly build finished at %DATE% >> x:\nightlyCompileOlx.log
  +
   shutdown -s now
  
positive.code: 
  if exist ..\..\distrib\win32\OpenLieroX.exe goto commit
  
  echo Failed to build OLX >> x:\nightlyCompileOlx.log
  
  goto end
  
  :commit
  
  cd ..\..
  
  svn commit -m "Updated EXE (auto nightly build)"
  
  rem Requires Cygwin!
  bash -c "echo `grep -o 'r[0-9]*' optional-includes/generated/Version_generated.h` > revnum.txt"
  
  bash -c "cmd /c save_debug_info.bat `cat revnum.txt`"
  
negative.code: 
  del x:\compileOlx.flag
  
  echo ----------- Nightly build started at %DATE% > x:\nightlyCompileOlx.log
  
  call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
  echo on
  
  cd c:\openlierox
  svn log -r "BASE:HEAD" > svn.log
  svn up
  grep -i "\[Rebuild\]" svn.log
  
  if errorlevel 1 goto end
  
  echo ----------- Compiling >> x:\nightlyCompileOlx.log
  
  cd "build\msvc 2005"
  
  