From a3f4071df66716141c6c2cde5773b950d9bd917b Mon Sep 17 00:00:00 2001 From: Jack May Date: Wed, 14 Oct 2020 15:06:35 -0700 Subject: [PATCH] Use https (#625) --- bpf-sdk-install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bpf-sdk-install.sh b/bpf-sdk-install.sh index 69ebeb7b61841c..c7f22b75aad0d5 100755 --- a/bpf-sdk-install.sh +++ b/bpf-sdk-install.sh @@ -11,11 +11,14 @@ set -x if [[ ! -r "$cacheDir"/bpf-sdk.tar.bz2 ]]; then mkdir -p "$cacheDir" - curl -L --retry 5 --retry-delay 2 -o "$cacheDir"/bpf-sdk.tar.bz2 \ - http://solana-sdk.s3.amazonaws.com/"$channel"/bpf-sdk.tar.bz2 + curl -L --retry 5 --retry-delay 2 -o "$cacheDir"/bpf-sdk.tar.bz2 \ + https://solana-sdk.s3.amazonaws.com/"$channel"/bpf-sdk.tar.bz2 fi rm -rf "$installDir" mkdir -p "$installDir" -( cd "$installDir"; tar jxf "$cacheDir"/bpf-sdk.tar.bz2 ) +( + cd "$installDir" + tar jxf "$cacheDir"/bpf-sdk.tar.bz2 +) cat "$installDir"/bpf-sdk/version.txt