Add trick to ensure the entire script is downloaded

This commit is contained in:
Michael Vines 2019-03-23 08:55:48 -07:00
parent 31b8743052
commit 4923f889c4
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
# install solana-install. It just does platform detection, downloads the installer
# and runs it.
{ # this ensures the entire script is downloaded #
if [ -z "$SOLANA_DOWNLOAD_ROOT" ]; then
SOLANA_DOWNLOAD_ROOT="https://github.com/solana-labs/solana/releases/download/"
@ -171,3 +172,5 @@ downloader() {
}
main "$@"
} # this ensures the entire script is downloaded #