Fix bash scripts:

* Use wallet name everywhere
* Update drone to use mint.json
This commit is contained in:
Tyera Eulberg 2018-06-28 12:56:53 -06:00 committed by Grimes
parent 47e732717f
commit d680f6b3a5
3 changed files with 6 additions and 5 deletions

View File

@ -38,7 +38,7 @@ else
fi
solana_client_demo=$(solana_program client-demo)
solana_simple_client_demo=$(solana_program simple-client-demo)
solana_wallet=$(solana_program wallet)
solana_drone=$(solana_program drone)
solana_fullnode=$(solana_program fullnode)
solana_fullnode_config=$(solana_program fullnode-config)

View File

@ -28,8 +28,8 @@ rsync_leader_url=$(rsync_url "$leader")
set -ex
mkdir -p $SOLANA_CONFIG_DIR
rsync -vPz "$rsync_leader_url"/config/leader.json $SOLANA_CONFIG_DIR/
rsync -vPz "$rsync_leader_url"/config/mint-demo.json $SOLANA_CONFIG_DIR/
rsync -vPz "$rsync_leader_url"/config/mint.json $SOLANA_CONFIG_DIR/
# shellcheck disable=SC2086 # $solana_drone should not be quoted
exec $solana_drone \
-l $SOLANA_CONFIG_DIR/leader.json < $SOLANA_CONFIG_DIR/mint-demo.json
-l $SOLANA_CONFIG_DIR/leader.json < $SOLANA_CONFIG_DIR/mint.json

View File

@ -15,7 +15,8 @@ rsync_leader_url=$(rsync_url "$leader")
set -ex
mkdir -p $SOLANA_CONFIG_DIR
rsync -vPz "$rsync_leader_url"/config/leader.json $SOLANA_CONFIG_DIR/
rsync -vPz "$rsync_leader_url"/config/mint.json $SOLANA_CONFIG_DIR/
# shellcheck disable=SC2086 # $solana_simple_client_demo should not be quoted
exec $solana_simple_client_demo \
-l $SOLANA_CONFIG_DIR/leader.json -d
exec $solana_wallet \
-l $SOLANA_CONFIG_DIR/leader.json -m $SOLANA_CONFIG_DIR/mint.json -d