From b55927370b97b2ce3dfb305ff486adc6a1f26d55 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 7 Jun 2019 13:22:40 -0700 Subject: [PATCH] Restore OS -> TARGET map --- scripts/solana-install-deploy.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scripts/solana-install-deploy.sh b/scripts/solana-install-deploy.sh index 1d99ee53a6..030d0de722 100755 --- a/scripts/solana-install-deploy.sh +++ b/scripts/solana-install-deploy.sh @@ -18,6 +18,21 @@ if [[ ! -f update_manifest_keypair.json ]]; then "$SOLANA_ROOT"/scripts/solana-install-update-manifest-keypair.sh "$OS" fi +case "$OS" in +osx) + TARGET=x86_64-apple-darwin + ;; +linux) + TARGET=x86_64-unknown-linux-gnu + ;; +windows) + TARGET=x86_64-pc-windows-msvc + ;; +*) + TARGET=unknown-unknown-unknown + ;; +esac + case $URL in edge|beta) URL=http://$URL.testnet.solana.com:8899