commit:     fa1f72249c96647568cd176ca4393b161f477bb8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 16:38:20 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 16 16:38:20 2016 +0000
URL:        
https://gitweb.gentoo.org/proj/eselect-python.git/commit/?id=fa1f7224

Respect EROOT when spawning python-exec2c for interpreter list

 python.eselect.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python.eselect.in b/python.eselect.in
index 7edcb96..8a21ab1 100644
--- a/python.eselect.in
+++ b/python.eselect.in
@@ -24,7 +24,7 @@ get_installed_pythons() {
                if [[ -x ${INTERPRETER_PATH}/${i} ]]; then
                        echo "${i}"
                fi
-       done < <(python-exec2c -l)
+       done < <("${INTERPRETER_DIR}"/python-exec2c -l)
 }
 
 # Get list of all preference values from python-exec.conf. This

Reply via email to