Set client config directory correctly in a Snap

This commit is contained in:
Michael Vines
2018-07-02 16:22:35 -07:00
parent 7d708be121
commit 263577773f
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
here=$(dirname "$0")
# shellcheck source=multinode-demo/common.sh
source "$here"/common.sh
SOLANA_CONFIG_DIR=config-client
SOLANA_CONFIG_DIR="$SOLANA_CONFIG_DIR"-client
# if $1 isn't host:path, something.com, or a valid local path
if [[ ${1%:} != "$1" || "$1" =~ [^.].[^.] || -d $1 ]]; then