anchor.diff:  :: LEIN_JAR and LEIN_HOME variables can be set manually.
   
   if "x%LEIN_HOME%" == "x" (
  -    set LEIN_HOME=%USERPROFILE%\.lein
  -)
  -
  -if "x%LEIN_JAR%" == "x" set LEIN_JAR=!LEIN_HOME!\self-installs\leiningen-!LEIN_VERSION!-standalone.jar
  +    set LEIN_HOME=!USERPROFILE!\.lein
  +)
  +
  +if "x%LEIN_JAR%" == "x" set "LEIN_JAR=!LEIN_HOME!\self-installs\leiningen-!LEIN_VERSION!-standalone.jar"
   
   if "%1" == "self-install" goto SELF_INSTALL
   if "%1" == "upgrade"      goto UPGRADE
  +if "%1" == "downgrade"    goto UPGRADE
   	
   if exist "%~dp0..\src\leiningen\version.clj" (
       :: Running from source checkout.
  
positive.code: 
  setLocal EnableExtensions EnableDelayedExpansion
  
  set LEIN_VERSION=2.2.0
  
  if "%LEIN_VERSION:~-9%" == "-SNAPSHOT" (
      set SNAPSHOT=YES
  
negative.code: 
  :DownloadFile
  rem parameters: TargetFileName Address
  if NOT "x%HTTP_CLIENT%" == "x" (
      %HTTP_CLIENT% %1 %2
      goto EOF
  )
  wget >nul 2>&1
  if NOT ERRORLEVEL 9009 (
      wget --no-check-certificate -O %1 %2
      goto EOF
  )
  curl >nul 2>&1
  if NOT ERRORLEVEL 9009 (
      rem We set CURL_PROXY to a space character below to pose as a no-op argument
      set CURL_PROXY= 
      if NOT "x%HTTPS_PROXY%" == "x" set CURL_PROXY="-x %HTTPS_PROXY%"
      curl %CURL_PROXY% --insecure -f -L -o  %1 %2
      goto EOF
  )
  powershell -? >nul 2>&1
  if NOT ERRORLEVEL 9009 (
      powershell -Command "& {param($a,$f) (new-object System.Net.WebClient).DownloadFile($a, $f)}" ""%2"" ""%1""
      goto EOF
  )
  goto NO_HTTP_CLIENT
  
  
  :NO_LEIN_JAR
  