From 1e9b3c1583ccc7e9342626a03dc73286fc603428 Mon Sep 17 00:00:00 2001 From: zelig Date: Thu, 23 Jun 2016 19:09:06 +0200 Subject: [PATCH] swarm/cmd: for remote binary update, take scripts from swarm/cmd/swarm --- swarm/cmd/swarm/swarm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swarm/cmd/swarm/swarm.sh b/swarm/cmd/swarm/swarm.sh index 4ca75c82a5..34dafda44c 100644 --- a/swarm/cmd/swarm/swarm.sh +++ b/swarm/cmd/swarm/swarm.sh @@ -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 }