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

Commit 3449ee7

Browse files
pois0kitopLukas Holzer
authored
fix: update fast_copy_cache function in run-build-functions.sh (#833)
Add a `-r` option and change the value of reflink to auto. Co-authored-by: Esteban Pastorino <143179+kitop@users.noreply.github.com> Co-authored-by: Lukas Holzer <lukas.holzer@netlify.com>
1 parent a2d22d2 commit 3449ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-build-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ fast_copy_cache() {
894894
if [ -d $src ]
895895
then
896896
echo "Started $3"
897-
cp --reflink=always $src $dst
897+
cp -r --reflink=auto $src $dst
898898
echo "Finished $3"
899899
fi
900900
}

0 commit comments

Comments
 (0)