Snap client-demo fixes

This commit is contained in:
Michael Vines
2018-07-13 23:37:56 -07:00
parent 4240edf710
commit 490d7875dd
2 changed files with 15 additions and 1 deletions

View File

@ -14,6 +14,13 @@ if [[ -d "$SNAP" ]]; then # Running inside a Linux Snap?
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
printf "%s/bin/solana-%s" "$SNAP" "$program"
else
printf "%s/command-%s.wrapper" "$SNAP" "$program"
fi
}
rsync="$SNAP"/bin/rsync
SOLANA_METRICS_CONFIG="$(snapctl get metrics-config)"