From 263577773f2e3c021fe9b54635fa56f674adf795 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 2 Jul 2018 16:22:35 -0700 Subject: [PATCH] Set client config directory correctly in a Snap --- multinode-demo/client.sh | 2 +- multinode-demo/drone.sh | 2 +- multinode-demo/wallet.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multinode-demo/client.sh b/multinode-demo/client.sh index d3d9ebb7f1..a7a1e43e7b 100755 --- a/multinode-demo/client.sh +++ b/multinode-demo/client.sh @@ -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 leader=${1:-${here}/..} # Default to local solana repo count=${2:-1} diff --git a/multinode-demo/drone.sh b/multinode-demo/drone.sh index c5515a24aa..4e541db501 100755 --- a/multinode-demo/drone.sh +++ b/multinode-demo/drone.sh @@ -6,7 +6,7 @@ here=$(dirname "$0") # shellcheck source=multinode-demo/common.sh source "$here"/common.sh -SOLANA_CONFIG_DIR=config-drone +SOLANA_CONFIG_DIR="$SOLANA_CONFIG_DIR"-drone if [[ -d "$SNAP" ]]; then # Exit if mode is not yet configured diff --git a/multinode-demo/wallet.sh b/multinode-demo/wallet.sh index efab71fd06..95717e8995 100755 --- a/multinode-demo/wallet.sh +++ b/multinode-demo/wallet.sh @@ -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