aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-17 13:30:10 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-17 13:30:10 +0000
commit7cc4be3a23996084f7a88b207ea73a499b1b7be4 (patch)
tree76a91dc2f2324b8713ab53594828b7e51f724561
parent2937e39647dd8f69c7da20dfb9278171e8eeb501 (diff)
downloadpaludis-7cc4be3a23996084f7a88b207ea73a499b1b7be4.tar.gz
paludis-7cc4be3a23996084f7a88b207ea73a499b1b7be4.tar.xz
Filter LD_ variables from environment when loading from VDB
-rwxr-xr-xebuild/ebuild.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index 494ff08..669bb08 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -165,6 +165,7 @@ ebuild_load_ebuild()
-e '/^\(declare \(-[^ ]\+ \)\?\)\?PALUDIS_COMMAND=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?ROOT=/d' \
-e '/^\(declare \(-[^ ]\+ \)\?\)\?SANDBOX/d' \
+ -e '/^\(declare \(-[^ ]\+ \)\?\)\?LD_/d' \
"${PALUDIS_TMPDIR}/environment-${CATEGORY}-${PF}"
source "${PALUDIS_TMPDIR}/environment-${CATEGORY}-${PF}" &>/dev/null \