Clean ~/solana during network start to avoid tripping over leftover files

This commit is contained in:
Michael Vines 2018-11-12 14:51:15 -08:00 committed by Grimes
parent 126f065cc9
commit 7f76403d0a
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ build() {
startCommon() {
declare ipAddress=$1
test -d "$SOLANA_ROOT"
ssh "${sshOptions[@]}" "$ipAddress" "mkdir -p ~/solana ~/.cargo/bin"
ssh "${sshOptions[@]}" "$ipAddress" "mkdir -p ~/solana ~/.cargo/bin; rm -rf ~/solana/"
rsync -vPrc -e "ssh ${sshOptions[*]}" \
"$SOLANA_ROOT"/{fetch-perf-libs.sh,scripts,net,multinode-demo} \
"$ipAddress":~/solana/