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

Fix typo in INTERPRETER_DIR var ref

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

diff --git a/python.eselect.in b/python.eselect.in
index 8a21ab1..a3720ee 100644
--- a/python.eselect.in
+++ b/python.eselect.in
@@ -21,7 +21,7 @@ get_installed_pythons() {
                # filter by type
                [[ ${1} == --py* && ${i} != python${1:4}* ]] && continue
                # filter to installed only
-               if [[ -x ${INTERPRETER_PATH}/${i} ]]; then
+               if [[ -x ${INTERPRETER_DIR}/${i} ]]; then
                        echo "${i}"
                fi
        done < <("${INTERPRETER_DIR}"/python-exec2c -l)

Reply via email to