summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-05-16 20:03:46 +0200
committerMichał Górny <mgorny@gentoo.org>2016-05-16 20:03:46 +0200
commit043fc5dc46cfca254923a1aabd2164928f1f348d (patch)
treeebed12909febe602f1b91c84f74b7550f8cd67fb
parentFix typo in INTERPRETER_DIR var ref (diff)
downloadeselect-python-043fc5dc46cfca254923a1aabd2164928f1f348d.tar.gz
eselect-python-043fc5dc46cfca254923a1aabd2164928f1f348d.tar.bz2
eselect-python-043fc5dc46cfca254923a1aabd2164928f1f348d.zip
Revert "Respect EROOT when spawning python-exec2c for interpreter list"
This could break cross-compilation.
-rw-r--r--python.eselect.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.eselect.in b/python.eselect.in
index a3720ee..451529d 100644
--- a/python.eselect.in
+++ b/python.eselect.in
@@ -24,7 +24,7 @@ get_installed_pythons() {
if [[ -x ${INTERPRETER_DIR}/${i} ]]; then
echo "${i}"
fi
- done < <("${INTERPRETER_DIR}"/python-exec2c -l)
+ done < <(python-exec2c -l)
}
# Get list of all preference values from python-exec.conf. This