Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9537 - main/trunk/bin
Date: Fri, 28 Mar 2008 10:03:32
Message-Id: E1JfBQn-00062o-P6@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-03-28 10:03:28 +0000 (Fri, 28 Mar 2008)
3 New Revision: 9537
4
5 Modified:
6 main/trunk/bin/emerge-webrsync
7 Log:
8 Disable tarsync when using lzma compression since it doesn't seem to be
9 supported.
10
11
12
13 Modified: main/trunk/bin/emerge-webrsync
14 ===================================================================
15 --- main/trunk/bin/emerge-webrsync 2008-03-28 09:46:43 UTC (rev 9536)
16 +++ main/trunk/bin/emerge-webrsync 2008-03-28 10:03:28 UTC (rev 9537)
17 @@ -173,7 +173,8 @@
18
19 vecho "Syncing local tree ..."
20
21 - if type -P tarsync &> /dev/null; then
22 + # tarsync-0.2.1 doesn't seem to support lzma compression.
23 + if [ "${file##*.}" != "lzma" ] && type -P tarsync &> /dev/null; then
24 if ! tarsync $(vvecho -v) -s 1 -o portage -g portage -e /distfiles -e /packages -e /local "${file}" "${PORTDIR}"; then
25 eecho "tarsync failed; tarball is corrupt? (${file})"
26 return 1
27
28 --
29 gentoo-commits@l.g.o mailing list