aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2005-07-19 17:18:25 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2005-07-19 17:18:25 +0000
commitcf577a0acc9abd0a5002b361c74d4ae76887e446 (patch)
tree92495267c38f663a0ab7af54e044bfc36d1b3063
parent2005-07-19 Danny van Dyk <kugelfang@gentoo.org> (diff)
downloadeselect-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--ChangeLog1
-rw-r--r--modules/env.eselect3
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dc4fe44..dbd25f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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