aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-09-06 14:58:17 -0400
committerDeterminant <[email protected]>2018-09-06 14:58:17 -0400
commitcbae27f40c310d96af643329a9139a91906ab300 (patch)
tree45829b6264c16747b34d4c2b73c06d3bb2990196 /scripts
parentc3368b286fbb1d6b8c22af8ce21e57b5a5720445 (diff)
...
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run.sh2
-rwxr-xr-xscripts/run_client.sh2
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