mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 06:05:29 -04:00
Docker: Returning to rsync --checksum
This commit is contained in:
parent
e4cf6be54a
commit
1ffd615182
1 changed files with 4 additions and 3 deletions
|
|
@ -25,9 +25,10 @@ if [ -n "${GIT_REF}" ]; then
|
|||
|
||||
elif [ -d /mnt/cp2k ]; then
|
||||
echo -e "\n========== Copying Changed Files =========="
|
||||
# Since this is for debugging, we assume the image was built on the same
|
||||
# host and we can rely on rsync's default algorithm which uses timestamps.
|
||||
rsync --delete \
|
||||
# We can't rely on timestamps as they depend on the git checkout time.
|
||||
# Hence, we use checksums despite the IO because a full rebuild would be even more costly.
|
||||
rsync --checksum \
|
||||
--delete \
|
||||
--executability \
|
||||
--verbose \
|
||||
--recursive \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue