aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-06-14 19:30:18 +0200
committerMichał Górny <mgorny@gentoo.org>2018-06-14 19:30:18 +0200
commit069681afabdf87f430041abc1a0dbaadbba2913a (patch)
tree06a9829d228dfa94675cbd99be374c33e9c2542d
parentrsync-gen: Delete stale Manifests from metadata/ manually (diff)
downloadmastermirror-scripts-master.tar.gz
mastermirror-scripts-master.tar.bz2
mastermirror-scripts-master.zip
rsync-gen: Restrict Manifest removal to metadata/ subdirHEAD20180614T173057Zmaster
-rwxr-xr-xrsync-gen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync-gen.sh b/rsync-gen.sh
index 63701e7..bdedc5e 100755
--- a/rsync-gen.sh
+++ b/rsync-gen.sh
@@ -133,7 +133,7 @@ timelog___end "STAGEDIR_repo_gentoo RSYNC" | timelogger
# metadata tree is protected, so we need to repeat potentially-stale
# Manifests separately (I couldn't get any R-rules to work)
-find "${STAGEDIR_repo_gentoo}"/ '(' \
+find "${STAGEDIR_repo_gentoo}"/metadata '(' \
-name 'Manifest' -o -name 'Manifest.gz' -o -name 'Manifest.files.gz' \
')' -delete