summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-28 10:03:28 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-28 10:03:28 +0000
commitbdaf5371a5710d64594f76f1d3748efdbe913c9e (patch)
treee867045de96688e0f3d5320314eefdd95565533a
parent22b98993ac42a3adcd2a37aa13ac7a2502bc0c60 (diff)
downloadportage-bdaf5371a5710d64594f76f1d3748efdbe913c9e.tar.gz
portage-bdaf5371a5710d64594f76f1d3748efdbe913c9e.tar.bz2
portage-bdaf5371a5710d64594f76f1d3748efdbe913c9e.zip
Disable tarsync when using lzma compression since it doesn't seem to be
supported. svn path=/main/trunk/; revision=9537
-rwxr-xr-xbin/emerge-webrsync3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index ee9cb7d45..3a58b2b16 100755
--- a/bin/emerge-webrsync
+++ b/bin/emerge-webrsync
@@ -173,7 +173,8 @@ sync_local() {
vecho "Syncing local tree ..."
- if type -P tarsync &> /dev/null; then
+ # tarsync-0.2.1 doesn't seem to support lzma compression.
+ if [ "${file##*.}" != "lzma" ] && type -P tarsync &> /dev/null; then
if ! tarsync $(vvecho -v) -s 1 -o portage -g portage -e /distfiles -e /packages -e /local "${file}" "${PORTDIR}"; then
eecho "tarsync failed; tarball is corrupt? (${file})"
return 1