Remove wallet.sh, update entrypoint syntax for wallet network argument

This commit is contained in:
Tyera Eulberg
2018-09-16 14:53:24 -06:00
committed by Tyera Eulberg
parent a06f4b1d44
commit 0125163190
6 changed files with 17 additions and 74 deletions

View File

@ -28,13 +28,7 @@ fi
if [[ -d $SNAP ]]; then # Running inside a Linux Snap?
solana_program() {
declare program="$1"
if [[ "$program" = wallet || "$program" = bench-tps ]]; then
# TODO: Merge wallet.sh/client.sh functionality into
# solana-wallet/solana-demo-client proper and remove this special case
printf "%s/bin/solana-%s" "$SNAP" "$program"
else
printf "%s/command-%s.wrapper" "$SNAP" "$program"
fi
printf "%s/command-%s.wrapper" "$SNAP" "$program"
}
rsync="$SNAP"/bin/rsync
multilog="$SNAP/bin/multilog t s16777215 n200"