Battle shellcheck
This commit is contained in:
parent
10add6a8ac
commit
428f220b88
|
@ -71,8 +71,8 @@ done
|
||||||
|
|
||||||
leader_address_args=("$ip_address_arg")
|
leader_address_args=("$ip_address_arg")
|
||||||
validator_address_args=("$ip_address_arg" -b 9000)
|
validator_address_args=("$ip_address_arg" -b 9000)
|
||||||
id_path=("$SOLANA_CONFIG_PRIVATE_DIR"/id.json)
|
id_path="$SOLANA_CONFIG_PRIVATE_DIR"/id.json
|
||||||
mint_path=("$SOLANA_CONFIG_PRIVATE_DIR"/mint.json)
|
mint_path="$SOLANA_CONFIG_PRIVATE_DIR"/mint.json
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ fi
|
||||||
|
|
||||||
if $node_type_validator; then
|
if $node_type_validator; then
|
||||||
echo "Creating $SOLANA_CONFIG_DIR/validator.json"
|
echo "Creating $SOLANA_CONFIG_DIR/validator.json"
|
||||||
$solana_fullnode_config "${keypair_arg}" "${validator_address_args[@]}" > "$SOLANA_CONFIG_DIR"/validator.json
|
$solana_fullnode_config --keypair="$id_path" "${validator_address_args[@]}" > "$SOLANA_CONFIG_DIR"/validator.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ls -lh "$SOLANA_CONFIG_DIR"/
|
ls -lh "$SOLANA_CONFIG_DIR"/
|
||||||
|
|
Loading…
Reference in New Issue