Skip to content

Commit 2facb74

Browse files
committed
Do not exclude /.cache
Closes gh-6
1 parent cd4f0f3 commit 2facb74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsync-antora-reference/rsync-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fi
4343
if [ -f "$FROM/.cache" ]; then
4444
RSYNC_OPTS="$RSYNC_OPTS$(find $FROM/.cache -printf ' --include /.cache/%P')"
4545
fi
46-
RSYNC_OPTS="$RSYNC_OPTS --exclude /.cache --exclude /.cache/* "
46+
RSYNC_OPTS="$RSYNC_OPTS --exclude /.cache/* "
4747
if [ -n "$BUILD_REFNAME" ]; then
4848
RSYNC_OPTS="-c $RSYNC_OPTS$(find $FROM -mindepth 1 -maxdepth 1 \! -name 404.html \! -name '.*' -type f -printf ' --include /%P')"
4949
RSYNC_OPTS="$RSYNC_OPTS$(find $FROM -mindepth 1 -maxdepth 1 -type d \! -name _ -printf ' --include /%P --include /%P/**') --exclude **"

0 commit comments

Comments
 (0)