diff options
author | Determinant <[email protected]> | 2018-09-06 14:58:17 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-09-06 14:58:17 -0400 |
commit | cbae27f40c310d96af643329a9139a91906ab300 (patch) | |
tree | 45829b6264c16747b34d4c2b73c06d3bb2990196 /scripts | |
parent | c3368b286fbb1d6b8c22af8ce21e57b5a5720445 (diff) |
...
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run.sh | 2 | ||||
-rwxr-xr-x | scripts/run_client.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/run.sh b/scripts/run.sh index 53d9923..668f46b 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -212,7 +212,7 @@ function start_all { get_node_info "$workdir/peer_list.txt" get_server_map "$workdir/server_map.txt" echo "copying configuration file" - cp "$conf_src" "$tmpldir/$proj_conf_name" + rsync -avP "$conf_src" "$tmpldir/$proj_conf_name" for rid in "${!nodes[@]}"; do local node_tmpldir="$workdir/$rid" local ip="$(get_ip_by_id $rid)" diff --git a/scripts/run_client.sh b/scripts/run_client.sh index 090dce1..f937221 100755 --- a/scripts/run_client.sh +++ b/scripts/run_client.sh @@ -186,7 +186,7 @@ function start_all { get_node_info "$workdir/peer_list.txt" get_client_info "$workdir/client_list.txt" echo "coyping configuration file" - cp "$conf_src" "$tmpldir/$proj_conf_name" + rsync -avP "$conf_src" "$tmpldir/$proj_conf_name" local nclient="${#cip_list[@]}" local i=0 for tuple in "${node_list[@]}"; do |