Commit 0a23e2e3a76b0648900b9f284eabcc78f1080a0b
1 parent
abc85e01
Changed local host_send- and host_recv- function behaviors from 'mv' to 'cp'
Showing
1 changed file
with
2 additions
and
2 deletions
cluster-manager.sh
... | ... | @@ -54,7 +54,7 @@ function host_exec_cmd { |
54 | 54 | # $3 remote localhost |
55 | 55 | function host_send_file { |
56 | 56 | if [ "$MYHOST" == "$1" ]; then |
57 | - mv ${2} ${3} | |
57 | + cp ${2} ${3} | |
58 | 58 | else |
59 | 59 | scp ${2} ${SSH_USER}${1}.routetopa.eu:${2} |
60 | 60 | fi |
... | ... | @@ -72,7 +72,7 @@ function host_send_file { |
72 | 72 | # $3 local filename |
73 | 73 | function host_recv_file { |
74 | 74 | if [ "$MYHOST" == "$1" ]; then |
75 | - mv ${2} ${3} | |
75 | + cp ${2} ${3} | |
76 | 76 | else |
77 | 77 | scp ${SSH_USER}${1}.routetopa.eu:${2} ./${3} |
78 | 78 | fi | ... | ... |