Don't skip the certificate checking in lein.bat, geeeeeeeeez.
Fixes #1733.
This commit is contained in:
parent
370423622c
commit
d63b2fa40f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue