summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-12-09 13:51:55 -0500
committerMike Gilbert <floppym@gentoo.org>2013-12-09 13:51:55 -0500
commit48eb1a6c8bf14da51cdff94f6b04dac57ab13d22 (patch)
tree30bc9df44e3aa85c87ba78e705869a76ac0a909b
parentrewrite autotools (diff)
downloadeselect-python-48eb1a6c8bf14da51cdff94f6b04dac57ab13d22.tar.gz
eselect-python-48eb1a6c8bf14da51cdff94f6b04dac57ab13d22.tar.bz2
eselect-python-48eb1a6c8bf14da51cdff94f6b04dac57ab13d22.zip
Create /etc/env.d/python in set_python(), bug 380569.
-rw-r--r--python.eselect1
1 files changed, 1 insertions, 0 deletions
diff --git a/python.eselect b/python.eselect
index f72e5cc..9c58391 100644
--- a/python.eselect
+++ b/python.eselect
@@ -36,6 +36,7 @@ find_targets() {
set_python() {
local symlink="${INTERPRETER_PATH}python" target="${1}"
ln -s python-wrapper "${symlink}"
+ mkdir -p "${ENV_D_PATH}/python"
echo "${target}" > "${ENV_D_PATH}/python/config"
}