diff options
author | 2016-05-16 18:37:35 +0200 | |
---|---|---|
committer | 2016-05-16 18:37:35 +0200 | |
commit | f5e16983117b9fb44c4121a65ce4ced93f432c2c (patch) | |
tree | e49c7fcaf0ab99c4eef5ea3f05e33443b62c4432 | |
parent | Bump to 20160222 (diff) | |
download | eselect-python-f5e16983117b9fb44c4121a65ce4ced93f432c2c.tar.gz eselect-python-f5e16983117b9fb44c4121a65ce4ced93f432c2c.tar.bz2 eselect-python-f5e16983117b9fb44c4121a65ce4ced93f432c2c.zip |
Respect EPYTHON when looking for installed intepreters
-rw-r--r-- | python.eselect.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python.eselect.in b/python.eselect.in index 196140e..7edcb96 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 type -P "${i}" &>/dev/null; then + if [[ -x ${INTERPRETER_PATH}/${i} ]]; then echo "${i}" fi done < <(python-exec2c -l) |