From 0a23e2e3a76b0648900b9f284eabcc78f1080a0b Mon Sep 17 00:00:00 2001 From: lucvic Date: Wed, 14 Oct 2015 16:36:31 +0200 Subject: [PATCH] Changed local host_send- and host_recv- function behaviors from 'mv' to 'cp' --- cluster-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster-manager.sh b/cluster-manager.sh index 7d2340d..4e7e5d6 100644 --- a/cluster-manager.sh +++ b/cluster-manager.sh @@ -54,7 +54,7 @@ function host_exec_cmd { # $3 remote localhost function host_send_file { if [ "$MYHOST" == "$1" ]; then - mv ${2} ${3} + cp ${2} ${3} else scp ${2} ${SSH_USER}${1}.routetopa.eu:${2} fi @@ -72,7 +72,7 @@ function host_send_file { # $3 local filename function host_recv_file { if [ "$MYHOST" == "$1" ]; then - mv ${2} ${3} + cp ${2} ${3} else scp ${SSH_USER}${1}.routetopa.eu:${2} ./${3} fi -- libgit2 0.21.4