Skip to content

Commit c67e8aa

Browse files
fuhlig1dennisklein
authored andcommitted
Fix copy error on some systems
Using `cp -a` mode to the tmp directory from a container fails for ubuntu 24.04 and opensuse 16.0 due failure of preserving permissions. Using `cp -RP` will copy the directory recursivly not following any symbolic links.
1 parent ca6f25d commit c67e8aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/test_project.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if [[ ! -d "$TEMPLATE_DIR" ]]; then
5959
fi
6060

6161
cd "$MYTMPDIR"
62-
cp -a "$TEMPLATE_DIR" .
62+
cp -RP "$TEMPLATE_DIR" .
6363
cd "project_${CONTAINER_TYPE}_containers"
6464
./rename.sh TestProj Tst det
6565

0 commit comments

Comments
 (0)