Restore OS -> TARGET map

This commit is contained in:
Michael Vines 2019-06-07 13:22:40 -07:00
parent 002fbc4d53
commit b55927370b
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 15 additions and 0 deletions

View File

@ -18,6 +18,21 @@ if [[ ! -f update_manifest_keypair.json ]]; then
"$SOLANA_ROOT"/scripts/solana-install-update-manifest-keypair.sh "$OS" "$SOLANA_ROOT"/scripts/solana-install-update-manifest-keypair.sh "$OS"
fi 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 case $URL in
edge|beta) edge|beta)
URL=http://$URL.testnet.solana.com:8899 URL=http://$URL.testnet.solana.com:8899