summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-05-16 18:38:20 +0200
committerMichał Górny <mgorny@gentoo.org>2016-05-16 18:38:20 +0200
commitfa1f72249c96647568cd176ca4393b161f477bb8 (patch)
tree253636e6bf4fa5f76b648975f60ef79c22359fbf
parentRespect EPYTHON when looking for installed intepreters (diff)
downloadeselect-python-fa1f72249c96647568cd176ca4393b161f477bb8.tar.gz
eselect-python-fa1f72249c96647568cd176ca4393b161f477bb8.tar.bz2
eselect-python-fa1f72249c96647568cd176ca4393b161f477bb8.zip
Respect EROOT when spawning python-exec2c for interpreter list
-rw-r--r--python.eselect.in2
1 files changed, 1 insertions, 1 deletions
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