aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2006-09-06 14:39:44 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2006-09-06 14:39:44 +0000
commiteec604897e5b7333d1949c79a775c40beb6541db (patch)
tree5bc33fb11dbdd4eebbad4ea1a1b346560bb53453
parentfc005ba34a43832744300c75865d3a7062583b34 (diff)
downloadpaludis-eec604897e5b7333d1949c79a775c40beb6541db.tar.gz
paludis-eec604897e5b7333d1949c79a775c40beb6541db.tar.xz
Exclude /local from rsync as well, to be consistent w/ portage.
-rw-r--r--paludis/syncer.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/syncer.cc b/paludis/syncer.cc
index 811214f..ac8772e 100644
--- a/paludis/syncer.cc
+++ b/paludis/syncer.cc
@@ -197,8 +197,9 @@ 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 --progress "
- + exclude + "'" + _remote + "' '" + _local + "/'");
+ "--timeout=180 --exclude=/distfiles --exclude=/packages "
+ "--exclude=/local --progress " + exclude + "'" + _remote +
+ "' '" + _local + "/'");
if (0 != run_command(cmd))
throw SyncFailedError(_local, _remote);