mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
util/mirror-tarballs: ensure we use https and enable certificate check. thanks Ivan Babrou for the reminder in #144.
This commit is contained in:
@ -14,7 +14,7 @@ cachefile=$work/$outfile
|
||||
if [ -s $cachefile ]; then
|
||||
cp $work/$outfile $outfile || exit 1
|
||||
else
|
||||
wget --no-check-certificate $1 -O $3 || exit 1
|
||||
wget $1 -O $3 || exit 1
|
||||
if [ $? == 0 ]; then
|
||||
cp $3 $work/ || exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user