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"
|
||||
if [[ -z $program ]]; then
|
||||
printf "solana"
|
||||
else
|
||||
if [[ $program == "validator" || $program == "ledger-tool" || $program == "watchtower" || $program == "install" ]]; then
|
||||
printf "agave-%s" "$program"
|
||||
else
|
||||
printf "solana-%s" "$program"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
else
|
||||
solana_program() {
|
||||
|
|
Loading…
Reference in New Issue