Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Mon, 24 Sep 2018 20:24:56
Message-Id: 1537820643.fbc100e6880291ea18cfcf8aa0a40c4d921dceaf.zmedico@gentoo
1 commit: fbc100e6880291ea18cfcf8aa0a40c4d921dceaf
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 24 20:22:20 2018 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 24 20:24:03 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=fbc100e6
7
8 ecompress: delete *.ecompress for empty PORTAGE_COMPRESS (bug 667008)
9
10 Fixes: aa0a94198794 ("ecompress: Replace with implementation from portage[mgorny]")
11 Bug: https://bugs.gentoo.org/667008
12 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
13
14 bin/ecompress | 5 ++++-
15 1 file changed, 4 insertions(+), 1 deletion(-)
16
17 diff --git a/bin/ecompress b/bin/ecompress
18 index 83d97ae6e..36bdb585b 100755
19 --- a/bin/ecompress
20 +++ b/bin/ecompress
21 @@ -69,7 +69,10 @@ done
22
23 # setup compression stuff
24 PORTAGE_COMPRESS=${PORTAGE_COMPRESS-bzip2}
25 -[[ -z ${PORTAGE_COMPRESS} ]] && exit 0
26 +if [[ -z ${PORTAGE_COMPRESS} ]]; then
27 + find "${ED}" -name '*.ecompress' -delete
28 + exit 0
29 +fi
30
31 if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
32 case ${PORTAGE_COMPRESS} in