anchor.diff:  
   echo Installing ninja
   
  -if NOT EXIST c:\ninja\nul mkdir c:\ninja
  +call:make_directory c:\ninja
  +rem if NOT EXIST c:\ninja\nul mkdir c:\ninja
   
   powershell.exe -Command (new-object System.Net.WebClient).DownloadFile('http://github.com/martine/ninja/releases/download/v1.6.0/ninja-win.zip','C:\ninja\ninja-win.zip')
   
  +echo downloaded
   if EXIST c:\ninja\ninja-win.zip call:unzipfile "C:\ninja\" "C:\ninja\ninja-win.zip"
  -)
  -
  -setx PATH "%PATH%;C:\ninja"
  -set PATH=%PATH%;C:\ninja
  -
  +echo exctracking
  +if EXIST c:\ninja\nul (
  +	
  +	call:set_path "C:\ninja"
  +	rem setx PATH "%PATH%;C:\ninja" /m
  +	rem set PATH=%PATH%;C:\ninja
  +)
   goto:eof
   
   
  
positive.code: if NOT EXIST \Strawberry\perl\bin\nul call:failure -1 "Could not locate perl path"
  if "%failure%" neq "0" goto:eof
  
  setx PATH "%PATH%;C:\Strawberry\c\bin"
  set PATH=%PATH%;C:\Strawberry\c\bin
  
  setx PATH "%PATH%;C:\Strawberry\perl\site\bin"
  set PATH=%PATH%;C:\Strawberry\perl\site\bin
  
  setx PATH "%PATH%;C:\Strawberry\perl\bin"
  set PATH=%PATH%;C:\Strawberry\perl\bin
  goto:eof
  
  :install_perl
  
negative.code: if ERRORLEVEL 1 call:setup_python
  if "%failure%" neq "0" goto:done_with_error
  
  where perl > NUL 2>&1
  if ERRORLEVEL 1 call:install_perl
  if "%failure%" NEQ "0" goto:eof
  
  where perl > NUL 2>&1
  if ERRORLEVEL 1 call:setup_perl
  if "%failure%" neq "0" goto:done_with_error
  
  where ninja > NUL 2>&1
  if ERRORLEVEL 1 call:install_ninja
  