Restore OS -> TARGET map
This commit is contained in:
parent
002fbc4d53
commit
b55927370b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue