Add trick to ensure the entire script is downloaded
This commit is contained in:
parent
31b8743052
commit
4923f889c4
|
@ -13,6 +13,7 @@
|
||||||
# install solana-install. It just does platform detection, downloads the installer
|
# install solana-install. It just does platform detection, downloads the installer
|
||||||
# and runs it.
|
# and runs it.
|
||||||
|
|
||||||
|
{ # this ensures the entire script is downloaded #
|
||||||
|
|
||||||
if [ -z "$SOLANA_DOWNLOAD_ROOT" ]; then
|
if [ -z "$SOLANA_DOWNLOAD_ROOT" ]; then
|
||||||
SOLANA_DOWNLOAD_ROOT="https://github.com/solana-labs/solana/releases/download/"
|
SOLANA_DOWNLOAD_ROOT="https://github.com/solana-labs/solana/releases/download/"
|
||||||
|
@ -171,3 +172,5 @@ downloader() {
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
||||||
|
} # this ensures the entire script is downloaded #
|
||||||
|
|
Loading…
Reference in New Issue