diff options
author | 2015-02-27 15:32:01 +0100 | |
---|---|---|
committer | 2015-02-28 16:33:46 +0100 | |
commit | 40ba4f033c892e0fc8ea779c697a86e9bf61cefd (patch) | |
tree | c8007bdea3b8aaab57d7c9cb7479bfa0e26eee9d | |
parent | 9949acef55fb94eb580d42155079d6de7f32e639 (diff) | |
download | paludis-40ba4f033c892e0fc8ea779c697a86e9bf61cefd.tar.gz paludis-40ba4f033c892e0fc8ea779c697a86e9bf61cefd.tar.xz |
syncers: switch rsync to --new-compress (-zz)
rsync[>=3.1.0] doesn't support --compress with external zlib
anymore.
'This rsync lacks old-style --compress due to its external zlib. Try -zz.
Continuing without compression.'
-rw-r--r-- | paludis/syncers/dorsync.in | 2 | ||||
-rw-r--r-- | paludis/syncers/dotar.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/paludis/syncers/dorsync.in b/paludis/syncers/dorsync.in index 0328ed56e..332385c55 100644 --- a/paludis/syncers/dorsync.in +++ b/paludis/syncers/dorsync.in @@ -89,7 +89,7 @@ REMOTE="${REMOTE#file://}" REMOTE="${REMOTE#rsync+ssh://}" ${RSYNC_WRAPPER} rsync --recursive --links --safe-links --perms --times \ - --compress --force --whole-file --delete --delete-delay --stats --timeout=180 \ + --new-compress --force --whole-file --delete --delete-delay --stats --timeout=180 \ ${PALUDIS_SYNC_FILTER_FILE:+--filter "merge ${PALUDIS_SYNC_FILTER_FILE}"} \ --exclude=/.cache --progress "${RSYNC_OPTIONS[@]}" "${REMOTE%/}/" "${LOCAL}/" diff --git a/paludis/syncers/dotar.in b/paludis/syncers/dotar.in index f6843b4c4..613fd3230 100644 --- a/paludis/syncers/dotar.in +++ b/paludis/syncers/dotar.in @@ -194,7 +194,7 @@ fi [[ -d "${LOCAL}" ]] || mkdir -p "${LOCAL}" ${RSYNC_WRAPPER} rsync --recursive --links --safe-links --perms --times \ - --compress --force --whole-file --delete --delete-after --stats --timeout=180 \ + --new-compress --force --whole-file --delete --delete-after --stats --timeout=180 \ ${PALUDIS_SYNC_FILTER_FILE:+--filter "merge ${PALUDIS_SYNC_FILTER_FILE}"} \ --exclude=/.cache --progress "${RSYNC_OPTIONS[@]}" "${UNPACKDIR}/" "${LOCAL}/" cleanup_and_exit ${?} |