Use agave prefix in scripts for pre-installed binaries (#155)

This commit is contained in:
Justin Starry 2024-03-09 01:02:21 +08:00 committed by GitHub
parent 7a8e29d4d5
commit 68be105870
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,11 @@ if [[ -n $USE_INSTALL || ! -f "$SOLANA_ROOT"/Cargo.toml ]]; then
if [[ -z $program ]]; then
printf "solana"
else
printf "solana-%s" "$program"
if [[ $program == "validator" || $program == "ledger-tool" || $program == "watchtower" || $program == "install" ]]; then
printf "agave-%s" "$program"
else
printf "solana-%s" "$program"
fi
fi
}
else