aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-01-16 13:08:26 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-01-16 13:08:26 -0800
commit7ad2f571cc55aeca1905c0fa9615d358d8663abb (patch)
treeed36b8c90bef7c50844543b78f64cfd72d2fbd55 /rsync-gen.sh
parentGet rsync-gen time log lines in syslog for ease of recording. (diff)
downloadmastermirror-scripts-7ad2f571cc55aeca1905c0fa9615d358d8663abb.tar.gz
mastermirror-scripts-7ad2f571cc55aeca1905c0fa9615d358d8663abb.tar.bz2
mastermirror-scripts-7ad2f571cc55aeca1905c0fa9615d358d8663abb.zip
'*.old' is a valid file to include because of net-p2p/freenet/files/freenet.old.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'rsync-gen.sh')
-rwxr-xr-xrsync-gen.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/rsync-gen.sh b/rsync-gen.sh
index b8658d6..55e8bbd 100755
--- a/rsync-gen.sh
+++ b/rsync-gen.sh
@@ -34,9 +34,10 @@ function timelog_MARKER() {
perl -e 'print "-"x70,"\n";'
}
-# We want to exclude many RCS files, but 'core' is actually a valid package
-# name that we do use for dev-ml/core.
-RSYNC_GIT_EXCLUDE="--include core/ --cvs-exclude --exclude=.gitignore"
+# We want to exclude many RCS files, but we have some exceptions to the 'cvs-exclude' list:
+# - 'core' is actually a valid package name that we do use for dev-ml/core.
+# - '*.old' is used by 'net-p2p/freenet/files/freenet.old'
+RSYNC_GIT_EXCLUDE="--include core/ --include '*.old' --cvs-exclude --exclude=.gitignore"
#--filter='dir-merge /.cvsignore' --filter='exclude .cvsignore'
#--filter='dir-merge /.gitignore' --filter='exclude .gitignore'