swarm/cmd: for remote binary update, take scripts from swarm/cmd/swarm

This commit is contained in:
zelig 2016-06-23 19:09:06 +02:00
parent e01ae3cded
commit 1e9b3c1583

View file

@ -351,7 +351,8 @@ function remote-update-scripts {
}
function remote-update-bin {
remote-update-scripts ~/bin $remotes
remotes=$1
remote-update-scripts $GETH_DIR/swarm/cmd/swarm/ $remotes
for remote in `cat $remotes|grep -v '^#'`; do echo "updating binary on $remote..."; scp -r $GETH_DIR/geth $remote:bin/; done
}