From 281925be9e8b902c08b371b5f78e192ddee57b9b Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 30 May 2015 01:36:56 +0400 Subject: [PATCH] fix arguments to curl --- scripts/install-sdk.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install-sdk.sh b/scripts/install-sdk.sh index 83b4fdce..99b3b0bb 100755 --- a/scripts/install-sdk.sh +++ b/scripts/install-sdk.sh @@ -6,10 +6,10 @@ has() { return $? } -if has "wget"; then - DOWNLOAD="wget --no-check-certificate -nc" -elif has "curl"; then - DOWNLOAD="curl -sSOL" +if has "curl"; then + DOWNLOAD="curl -L " +elif has "wget"; then + DOWNLOAD="wget -O - " else echo "Error: you need curl or wget to proceed" >&2; exit 1