From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7B26E138334 for ; Mon, 24 Sep 2018 20:24:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70DE3E0AA6; Mon, 24 Sep 2018 20:24:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49A6AE0AA6 for ; Mon, 24 Sep 2018 20:24:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A492335C38 for ; Mon, 24 Sep 2018 20:24:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 867503C3 for ; Mon, 24 Sep 2018 20:24:51 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1537820643.fbc100e6880291ea18cfcf8aa0a40c4d921dceaf.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ecompress X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: fbc100e6880291ea18cfcf8aa0a40c4d921dceaf X-VCS-Branch: master Date: Mon, 24 Sep 2018 20:24:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 526e73e6-6c17-489a-8e1a-3c7994f85bd7 X-Archives-Hash: ff5e706b132798ca483560cf0dd93770 commit: fbc100e6880291ea18cfcf8aa0a40c4d921dceaf Author: Zac Medico gentoo org> AuthorDate: Mon Sep 24 20:22:20 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Sep 24 20:24:03 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=fbc100e6 ecompress: delete *.ecompress for empty PORTAGE_COMPRESS (bug 667008) Fixes: aa0a94198794 ("ecompress: Replace with implementation from portage[mgorny]") Bug: https://bugs.gentoo.org/667008 Signed-off-by: Zac Medico gentoo.org> bin/ecompress | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/ecompress b/bin/ecompress index 83d97ae6e..36bdb585b 100755 --- a/bin/ecompress +++ b/bin/ecompress @@ -69,7 +69,10 @@ done # setup compression stuff PORTAGE_COMPRESS=${PORTAGE_COMPRESS-bzip2} -[[ -z ${PORTAGE_COMPRESS} ]] && exit 0 +if [[ -z ${PORTAGE_COMPRESS} ]]; then + find "${ED}" -name '*.ecompress' -delete + exit 0 +fi if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then case ${PORTAGE_COMPRESS} in