From 30b6d73b92216cd34ae2d2cc9961d034ddb3d22b Mon Sep 17 00:00:00 2001
From: Stephan Schulz <stephan.schulz-x2q@rub.de>
Date: Wed, 27 Jan 2021 12:20:24 +0100
Subject: [PATCH] rsync not available on images, use cp -rL

---
 ci/test_project_cmake.sh        | 2 +-
 ci/test_project_cmake_subdir.sh | 2 +-
 ci/test_project_makefile.sh     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ci/test_project_cmake.sh b/ci/test_project_cmake.sh
index e17797d..8788e97 100755
--- a/ci/test_project_cmake.sh
+++ b/ci/test_project_cmake.sh
@@ -9,7 +9,7 @@ find_VTK #sets VTK_DIR
 
 TEMP=$(mktemp -d)
 
-rsync -aLK "$CI_SCRIPT_PATH/../example/CMakeProject/" "$TEMP"
+cp -rL "$CI_SCRIPT_PATH/../example/CMakeProject/" "$TEMP"
 cd "$TEMP"
 sed -i\
 	-e "/^ALL_ROOT_DIR=/c\\\nALL_ROOT_DIR=\"$ALL_ROOT_DIR\"\n"\
diff --git a/ci/test_project_cmake_subdir.sh b/ci/test_project_cmake_subdir.sh
index 49968e1..1f180c6 100755
--- a/ci/test_project_cmake_subdir.sh
+++ b/ci/test_project_cmake_subdir.sh
@@ -9,7 +9,7 @@ find_VTK #sets VTK_DIR
 
 TEMP=$(mktemp -d)
 
-rsync -aLK "$CI_SCRIPT_PATH/../example/CMakeProjectSubdir/" "$TEMP"
+cp -rL "$CI_SCRIPT_PATH/../example/CMakeProjectSubdir/" "$TEMP"
 cd "$TEMP"
 ln -s "$ALL_ROOT_DIR" all
 ln -s "$VTK_DIR" vtk_bin
diff --git a/ci/test_project_makefile.sh b/ci/test_project_makefile.sh
index ac33384..9992e6e 100755
--- a/ci/test_project_makefile.sh
+++ b/ci/test_project_makefile.sh
@@ -9,7 +9,7 @@ find_VTK #sets VTK_DIR
 
 TEMP=$(mktemp -d)
 
-rsync -aLK "$CI_SCRIPT_PATH/../example/MakefileProject/" "$TEMP"
+cp -rL "$CI_SCRIPT_PATH/../example/MakefileProject/" "$TEMP"
 cd "$TEMP"
 sed -i\
 	-e "/^ALL_SOURCE=/c\\\nALL_SOURCE=\"$ALL_ROOT_DIR\"\n"\
-- 
GitLab