commit:     fa96885401f7d57ad9ad55e911956f1563357c1b
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sat Jul 27 22:31:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 30 08:14:25 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=fa968854

phase-helpers.sh: don't needlessly define LC_COLLATE in eapply()

Don't define LC_COLLATE in eapply(). Doing so is actually futile because
the sole intent is to apply the collation to pathname expansion, which
is precisely why _eapply_get_files() exists as a distinct function to
begin with; there the matter is duly attended to.

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

 bin/phase-helpers.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
index 726e743f0a..1949230c09 100644
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@ -986,7 +986,6 @@ fi
 if ___eapi_has_eapply; then
        eapply() {
                local failed patch_cmd=patch
-               local -x LC_COLLATE=POSIX
 
                # for bsd userland support, use gpatch if available
                type -P gpatch > /dev/null && patch_cmd=gpatch

Reply via email to