Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Commit

Permalink
adjust mosn DOWNLOAD_COMMAND
Browse files Browse the repository at this point in the history
  • Loading branch information
JamazRuan committed Jun 22, 2019
1 parent 1bce7da commit cad2dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function set_download_command () {
# Try curl.
if command -v curl > /dev/null; then
if curl --version | grep Protocols | grep https > /dev/null; then
DOWNLOAD_COMMAND='curl -fLSs'
DOWNLOAD_COMMAND='curl -fLSsO'
return
fi
echo curl does not support https, will try wget for downloading files.
Expand Down

0 comments on commit cad2dba

Please sign in to comment.