aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-01 16:45:38 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-01 16:45:38 +0000
commit9d0f8ec2bc447dc74d5a06ef6c93f2d51ee6c877 (patch)
tree676bcdef4ae8360ddf8b699435b127a1563369e4
parentdb0a43324faa97f2958703a19130c47c87cd9166 (diff)
downloadpaludis-9d0f8ec2bc447dc74d5a06ef6c93f2d51ee6c877.tar.gz
paludis-9d0f8ec2bc447dc74d5a06ef6c93f2d51ee6c877.tar.xz
Stop rsync from deleting /.cache
-rw-r--r--paludis/syncer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/syncer.cc b/paludis/syncer.cc
index 91424a9..2a7c793 100644
--- a/paludis/syncer.cc
+++ b/paludis/syncer.cc
@@ -207,7 +207,7 @@ RsyncSyncer::sync(const SyncOptions & opts) const
std::string cmd("rsync --recursive --links --safe-links --perms --times "
"--compress --force --whole-file --delete --delete-after --stats "
"--timeout=180 --exclude=/distfiles --exclude=/packages "
- "--exclude=/local --progress " + exclude + "'" + _remote +
+ "--exclude=/local --exclude=/.cache --progress " + exclude + "'" + _remote +
"' '" + _local + "/'");
if (0 != run_command(cmd))