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