aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------salticidae0
-rwxr-xr-xscripts/run.sh2
-rwxr-xr-xscripts/run_client.sh2
3 files changed, 2 insertions, 2 deletions
diff --git a/salticidae b/salticidae
-Subproject 8611778efda37ff40ae9133010209a94dbb2786
+Subproject f40ee925f06587399e3a1b755ede2ea87a7cc67
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