Skip to content

Commit

Permalink
Fix snap client-demo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jul 14, 2018
1 parent 490d787 commit 3f7f492
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions multinode-demo/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,9 @@ rsync=rsync
if [[ -d "$SNAP" ]]; then # Running inside a Linux Snap?
solana_program() {
declare program="$1"
if [[ "$program" = wallet ]]; then
# TODO: Merge wallet.sh functionality into solana-wallet proper and
# remove this special case
printf "%s/bin/solana-%s" "$SNAP" "$program"
else
printf "%s/command-%s.wrapper" "$SNAP" "$program"
fi
if [[ "$program" = client-demo ]]; then
# TODO: Merge client.sh functionality into solana-client-demo proper and
# remove this special case
if [[ "$program" = wallet || "$program" = client-demo ]]; 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"
Expand Down

0 comments on commit 3f7f492

Please sign in to comment.