0
0
mirror of https://github.com/tj/n.git synced 2024-11-25 07:39:21 +01:00

Added --no-check-certificate for Github Downloads

This commit is contained in:
Dav Glass 2011-02-07 21:19:17 -06:00 committed by Tj Holowaychuk
parent 1ea222ab4d
commit 0e04afb0f7

4
bin/n
View File

@ -35,8 +35,8 @@ fi
GET=
# wget support
which wget > /dev/null && GET="wget -q -O-"
# wget support (Added --no-check-certificate for Github downloads)
which wget > /dev/null && GET="wget --no-check-certificate -q -O-"
# curl support
which curl > /dev/null && GET="curl -# -L"