From e0c88a38ac1eabdca4a54ce2fc7a4fdf4449931d Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Tue, 19 Dec 2017 23:30:01 +0200 Subject: [PATCH] fix rsync source copying command to copy also .git (#153) --- BUILD/mdbci/remote_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD/mdbci/remote_build.sh b/BUILD/mdbci/remote_build.sh index be02521f2..298068ea7 100755 --- a/BUILD/mdbci/remote_build.sh +++ b/BUILD/mdbci/remote_build.sh @@ -17,7 +17,7 @@ ssh $sshopt "sudo rm -rf $work_dir" echo "copying stuff to $image machine" ssh $sshopt "mkdir -p $work_dir" -rsync -avz --progress --delete -e "ssh $scpopt" ${script_dir}/../../* $sshuser@$IP:./$work_dir/ +rsync -avz --delete -e "ssh $scpopt" ${script_dir}/../../ $sshuser@$IP:./$work_dir/ if [ $? -ne 0 ] ; then echo "Error copying stuff to $box machine" exit 2