From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RNrIm-0006Dk-Vb for garchives@archives.gentoo.org; Tue, 08 Nov 2011 19:25:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B97621C021; Tue, 8 Nov 2011 19:25:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2A26221C021 for ; Tue, 8 Nov 2011 19:25:36 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D9971B400B for ; Tue, 8 Nov 2011 19:25:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 11B7680042 for ; Tue, 8 Nov 2011 19:25:35 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <46f565d32b46b073103c9ed045326ecd9d3f2859.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/ecompressdir X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 46f565d32b46b073103c9ed045326ecd9d3f2859 Date: Tue, 8 Nov 2011 19:25:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8ae7fabe-9b9e-465e-83c0-33ff31daa714 X-Archives-Hash: a1a4de685c703f8b704ed7ec04956ce6 commit: 46f565d32b46b073103c9ed045326ecd9d3f2859 Author: Zac Medico gentoo org> AuthorDate: Tue Nov 8 19:24:35 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Nov 8 19:24:35 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D46f565d3 ecompressdir: remove 'continue' from loop logic Hopefully this helps us avoid errors in loop logic like bug #389047. --- bin/ebuild-helpers/ecompressdir | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/bin/ebuild-helpers/ecompressdir b/bin/ebuild-helpers/ecompre= ssdir index fa42775..f9a846a 100755 --- a/bin/ebuild-helpers/ecompressdir +++ b/bin/ebuild-helpers/ecompressdir @@ -133,14 +133,11 @@ for dir in "$@" ; do 'cp -p "${file}" "${file}.ecompress.break" ; mv -f "${file}.ecompress.= break" "${file}"' \; =20 # now lets do our work - if [[ -z ${suffix} ]] ; then - restore_skip_dirs - continue + if [[ -n ${suffix} ]] ; then + vecho "${0##*/}: $(ecompress --bin) /${actual_dir#${ED}}" + funk_up_dir "compress" "${suffix}" "ecompress" fi =20 - vecho "${0##*/}: $(ecompress --bin) /${actual_dir#${ED}}" - funk_up_dir "compress" "${suffix}" "ecompress" - # finally, restore the skipped stuff restore_skip_dirs done