Don't skip the certificate checking in lein.bat, geeeeeeeeez.

Fixes #1733.
This commit is contained in:
Phil Hagelberg 2015-01-07 15:52:06 -08:00
parent 370423622c
commit d63b2fa40f

View file

@ -143,7 +143,7 @@ if NOT "x%HTTP_CLIENT%" == "x" (
)
call wget --help >nul 2>&1
if NOT ERRORLEVEL 1 (
call wget --no-check-certificate -O %1 %2
call wget -O %1 %2
goto EOF
)
call curl --help >nul 2>&1
@ -151,7 +151,7 @@ if NOT ERRORLEVEL 1 (
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%"
call curl %CURL_PROXY% --insecure -f -L -o %1 %2
call curl %CURL_PROXY% -f -L -o %1 %2
goto EOF
)
call powershell -? >nul 2>&1