diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2005-07-19 17:18:25 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2005-07-19 17:18:25 +0000 |
commit | cf577a0acc9abd0a5002b361c74d4ae76887e446 (patch) | |
tree | 92495267c38f663a0ab7af54e044bfc36d1b3063 | |
parent | 2005-07-19 Danny van Dyk <kugelfang@gentoo.org> (diff) | |
download | eselect-cf577a0acc9abd0a5002b361c74d4ae76887e446.tar.gz eselect-cf577a0acc9abd0a5002b361c74d4ae76887e446.tar.bz2 eselect-cf577a0acc9abd0a5002b361c74d4ae76887e446.zip |
2005-07-19 Danny van Dyk <kugelfang@gentoo.org>
* module/env.eselect: Removed LDPATH from inclusion into profile.env.
diffstat:
env.eselect | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
svn path=/trunk/; revision=162
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | modules/env.eselect | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -8,6 +8,7 @@ ChangeLog for eselect * modules/env.eselect: Tidied code up, add prelink.conf code. These file are now sanley created: /etc/profile.env, /etc/ld.so.conf, /etc/prelink.conf. + * module/env.eselect: Removed LDPATH from inclusion into profile.env. 2005-07-16 Danny van Dyk <kugelfang@gentoo.org> diff --git a/modules/env.eselect b/modules/env.eselect index 7b2854e..950c023 100644 --- a/modules/env.eselect +++ b/modules/env.eselect @@ -76,11 +76,12 @@ create_profile_env() { store_config ${ENVPROFILE} ${var} "${store[@]}" continue fi + [[ ${var} == LDPATH ]] && continue # Ok, just a non-cummultative var. store_config \ ${ENVPROFILE} \ ${var} \ - "$(load_config ${ENVPROFILE} ${var})" + "$(load_config ${envfile} ${var})" done has LDPATH ${vars} || continue |