From cad2dba2c467cb405655dedc105a7c47b47194cf Mon Sep 17 00:00:00 2001 From: Jamaz <61860754@qq.com> Date: Sat, 22 Jun 2019 14:39:01 +0800 Subject: [PATCH] adjust mosn DOWNLOAD_COMMAND --- bin/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/init.sh b/bin/init.sh index 4a7d539f5233..4e27168b5ef8 100755 --- a/bin/init.sh +++ b/bin/init.sh @@ -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.