commit:     bd2a990e3a686882d418faf38e8bd4262f3c276b
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Tue Jul 15 00:45:21 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 22:28:39 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=bd2a990e

save-ebuild-env.sh: filter out the __readdir() function

The __readdir() function was added to the "phase-helpers.sh"
unit by the referenced commit. Ensure that it is filtered out by the
__save_ebuild_env() function.

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

 bin/save-ebuild-env.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh
index 03a9954ad7..473addc23d 100644
--- a/bin/save-ebuild-env.sh
+++ b/bin/save-ebuild-env.sh
@@ -118,9 +118,10 @@ __save_ebuild_env() (
 
        ___eapi_has_version_functions && REPLY+=( ver_test ver_cut ver_rs )
        ___eapi_has_einstalldocs && REPLY+=( einstalldocs )
+       ___eapi_has_eapply_user && REPLY+=( __readdir eapply_user )
        ___eapi_has_get_libdir && REPLY+=( get_libdir )
        ___eapi_has_in_iuse && REPLY+=( in_iuse )
-       ___eapi_has_eapply && REPLY+=( eapply_user eapply )
+       ___eapi_has_eapply && REPLY+=( eapply )
        ___eapi_has_usex && REPLY+=( usex )
 
        # Destroy the collected functions.

Reply via email to