anchor.diff:  for %%f in (%LEIN_JAR%) do set LEIN_INSTALL_DIR="%%~dpf"
   if not exist %LEIN_INSTALL_DIR% mkdir %LEIN_INSTALL_DIR%
   
  +echo Downloading Leiningen now...
  +
   set HTTP_CLIENT=wget --no-check-certificate -O
   wget>nul 2>&1
   if ERRORLEVEL 9009 (
  
positive.code: 
  :DOWNLOAD_FAILED
  echo.
  echo *** DOWNLOAD FAILED! Check URL/Version. ***
  echo.
  goto EOF
  
  
negative.code: set LEIN_VERSION=1.5.0-SNAPSHOT
  
  setLocal EnableExtensions EnableDelayedExpansion
  
  if "%LEIN_VERSION:~-9%" == "-SNAPSHOT" (
      set SNAPSHOT=YES
  ) else (
      set SNAPSHOT=NO
  )
  
  rem LEIN_JAR and LEIN_HOME variables can be set manually.
  
  