Skip to content

Commit

Permalink
Drop the --no-check-certificate argument to wget.
Browse files Browse the repository at this point in the history
This was necessary early on due to a bug where libssl wouldn't
recognize the specific certificate github was using. If you're stuck
on this old version and are having trouble, try exporting
`HTTP_CLIENT=wget --no-check-certificate -O` to get the old behaviour back.
  • Loading branch information
technomancy committed May 3, 2012
1 parent 5d5f5c1 commit aa1b119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/lein
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ else
fi
fi

HTTP_CLIENT="wget --no-check-certificate -O"
HTTP_CLIENT=${HTTP_CLIENT:-"wget -O"}
if type -p curl >/dev/null 2>&1; then
if [ "$https_proxy" != "" ]; then
CURL_PROXY="-x $https_proxy"
fi
HTTP_CLIENT="curl $CURL_PROXY --insecure -f -L -o"
HTTP_CLIENT="curl $CURL_PROXY -f -L -o"
fi

export JAVA_CMD=${JAVA_CMD:-"java"}
Expand Down

0 comments on commit aa1b119

Please sign in to comment.