From cbae27f40c310d96af643329a9139a91906ab300 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 6 Sep 2018 14:58:17 -0400 Subject: ... --- scripts/run.sh | 2 +- scripts/run_client.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3-70-g09d2