summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-05-16 18:47:44 +0200
committerMichał Górny <mgorny@gentoo.org>2016-05-16 18:47:44 +0200
commit7c5a9f01c5f9846a7d2b3b9d9e9ce103115c2519 (patch)
tree9b4ec939b8297845ec35990d0c5c2db481fd2245
parentRespect EROOT when spawning python-exec2c for interpreter list (diff)
downloadeselect-python-7c5a9f01c5f9846a7d2b3b9d9e9ce103115c2519.tar.gz
eselect-python-7c5a9f01c5f9846a7d2b3b9d9e9ce103115c2519.tar.bz2
eselect-python-7c5a9f01c5f9846a7d2b3b9d9e9ce103115c2519.zip
Fix typo in INTERPRETER_DIR var ref
-rw-r--r--python.eselect.in2
1 files changed, 1 insertions, 1 deletions
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)