commit:     407fc9d6b59ed97a6846ec953f55013333798f77
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 08:34:46 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 15 09:05:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=407fc9d6

python-utils-r1.eclass: python_wrapper_setup, fix pythonN-config cleanup

 eclass/python-utils-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 468eff1..0f9b58f 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -917,7 +917,7 @@ python_wrapper_setup() {
                mkdir -p "${workdir}"/{bin,pkgconfig} || die
 
                # Clean up, in case we were supposed to do a cheap update.
-               rm -f "${workdir}"/bin/python{,2,3,-config} || die
+               rm -f "${workdir}"/bin/python{,2,3}{,-config} || die
                rm -f "${workdir}"/bin/2to3 || die
                rm -f "${workdir}"/pkgconfig/python{,2,3}.pc || die
 

Reply via email to