Skip to content

Commit

Permalink
Don't skip the certificate checking in lein.bat, geeeeeeeeez.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jan 7, 2015
1 parent 3704236 commit d63b2fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/lein.bat
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ 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
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
Expand Down

0 comments on commit d63b2fa

Please sign in to comment.