commit:     2385da0e5c539689e91aa9c439c8c8fcc7527424
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Jun  8 16:08:03 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun  9 02:51:07 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=2385da0e

ecompress: don't touch .ecompress_skip_files redundantly

The do_ignore() function begins by using a standalone redirection
operator to bring the ".ecompress_skip_files" file into existence. It
need not, since the following for command does the exact same thing,
whether or not there are any positional parameters to be processed.

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/ecompress | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bin/ecompress b/bin/ecompress
index 0566a8331b..eb1be9e5ac 100755
--- a/bin/ecompress
+++ b/bin/ecompress
@@ -10,7 +10,6 @@ do_ignore() {
        local -a skip_dirs
        local skip
 
-       : > "${T}/.ecompress_skip_files" || die
        for skip; do
                if [[ ${skip} == *$'\n'* ]]; then
                        # The operand must be disregarded because the temporary

Reply via email to