Skip to content

Commit d8d81a6

Browse files
authored
Fix rsync command to prune stale cache images. (#250)
When a figure is re-rendered, stale versions of the figure are removed from the cache. This change fixes that behavior, which was broken in 5a8f24a.
1 parent 804841b commit d8d81a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ cp_chown() {
741741
local src=$1
742742
local dst=$2
743743

744-
rsync --archive --mkpath --chown="${src_uidgid}" "${src}" "${dst}"
744+
rsync --archive --mkpath --delete --chown="${src_uidgid}" "${src}" "${dst}"
745745
}
746746

747747
# Sync generated files (if any) back to the source directory so they can be cached and speed up future runs.

0 commit comments

Comments
 (0)