commit:     6e687a2a0d69874980bea6cee844d64dc42d10e7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 17 06:04:22 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 17 06:04:22 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=6e687a2a

Revert "ecompress: enhance the diagnostics where PORTAGE_COMPRESS is set as 
"true""

This reverts commit e1d973f18e4836665eda914665c6d20c1c196b33. I rebased
before when merging this commit and didn't fixup Kerin's 'See-also' note again.

Will reapply properly shortly.

Bug: https://bugs.gentoo.org/965903
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/ecompress | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/bin/ecompress b/bin/ecompress
index 1c0f04589a..0073cb47b9 100755
--- a/bin/ecompress
+++ b/bin/ecompress
@@ -250,11 +250,7 @@ fi
 
 # figure out the new suffix
 if ! PORTAGE_COMPRESS_SUFFIX=$(guess_suffix); then
-       error="${0##*/}: failed to determine the suffix of archives created by 
${PORTAGE_COMPRESS@Q}"
-       if [[ ${PORTAGE_COMPRESS##*/} == @(true|:) ]]; then
-               error+=' (to disable compression, set PORTAGE_COMPRESS="" 
instead)'
-       fi
-       die "${error}"
+       die "Failed to determine the suffix of archives created by 
${PORTAGE_COMPRESS@Q}"
 fi
 
 export PORTAGE_COMPRESS_SUFFIX PORTAGE_COMPRESS_FLAGS PORTAGE_COMPRESS

Reply via email to