commit:     e45c2d0d0a9f22439eb2fcd1c99235ba6d1070a2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 10 18:52:29 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 10 18:52:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e45c2d0d

distutils-r1.eclass: workaround bash-5.3* bug

Bug: https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00005.html
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/distutils-r1.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 7dfc8c7a3c30..62e092b6231f 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1685,7 +1685,8 @@ distutils-r1_python_install() {
                # let's explicitly verify these assumptions
 
                # remove files that we've created explicitly
-               rm 
"${reg_scriptdir}"/{"${EPYTHON}",python3,python,../pyvenv.cfg} || die
+               rm "${reg_scriptdir}"/{"${EPYTHON}",python3,python} || die
+               rm "${reg_scriptdir}"/../pyvenv.cfg || die
 
                # Automagically do the QA check to avoid issues when 
bootstrapping
                # prefix.

Reply via email to