Use agave prefix in scripts for pre-installed binaries (#155)
This commit is contained in:
parent
7a8e29d4d5
commit
68be105870
|
@ -29,9 +29,13 @@ if [[ -n $USE_INSTALL || ! -f "$SOLANA_ROOT"/Cargo.toml ]]; then
|
||||||
declare program="$1"
|
declare program="$1"
|
||||||
if [[ -z $program ]]; then
|
if [[ -z $program ]]; then
|
||||||
printf "solana"
|
printf "solana"
|
||||||
|
else
|
||||||
|
if [[ $program == "validator" || $program == "ledger-tool" || $program == "watchtower" || $program == "install" ]]; then
|
||||||
|
printf "agave-%s" "$program"
|
||||||
else
|
else
|
||||||
printf "solana-%s" "$program"
|
printf "solana-%s" "$program"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
solana_program() {
|
solana_program() {
|
||||||
|
|
Loading…
Reference in New Issue