Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
fix: update fast_copy_cache function in run-build-functions.sh (#833)
Browse files Browse the repository at this point in the history
Add a `-r` option and change the value of reflink to auto.

Co-authored-by: Esteban Pastorino <[email protected]>
Co-authored-by: Lukas Holzer <[email protected]>
  • Loading branch information
3 people authored Jan 11, 2023
1 parent a2d22d2 commit 3449ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ fast_copy_cache() {
if [ -d $src ]
then
echo "Started $3"
cp --reflink=always $src $dst
cp -r --reflink=auto $src $dst
echo "Finished $3"
fi
}
Expand Down

0 comments on commit 3449ee7

Please sign in to comment.