aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-13 19:39:53 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-13 19:39:53 +0000
commita76a331265a32b41b860528dc1c071c3465b5c51 (patch)
tree3d74ab1eedf15ca3bad558a4ed311af45f2a710b
parent5ace55a1e6d7a09d54a2f78e3cc8f5b520fd6131 (diff)
downloadpaludis-a76a331265a32b41b860528dc1c071c3465b5c51.tar.gz
paludis-a76a331265a32b41b860528dc1c071c3465b5c51.tar.xz
When ROOT=/ and unmerging a Portage-installed package, avoid sandbox errors caused by the saved environment
-rwxr-xr-xebuild/ebuild.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index 2a2cea5..1f4c031 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -161,6 +161,7 @@ ebuild_load_ebuild()
-e '/^PALUDIS_EBUILD_DIR=/d' \
-e '/^PALUDIS_COMMAND=/d' \
-e '/^ROOT=/d' \
+ -e '/^SANDBOX/d' \
"${PALUDIS_TMPDIR}/environment-${CATEGORY}-${PF}"
source "${PALUDIS_TMPDIR}/environment-${CATEGORY}-${PF}" &>/dev/null \