aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-27 01:24:41 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-27 01:24:41 +0000
commita04702912561544b329e0fecafa9702d46e6a148 (patch)
tree805e45e8d04be0e1dc3bc97ab8a44071766c8612
parent4a1a393bfccd2478f519399041a0234c1b067249 (diff)
downloadpaludis-a04702912561544b329e0fecafa9702d46e6a148.tar.gz
paludis-a04702912561544b329e0fecafa9702d46e6a148.tar.xz
Always allow writes to PALUDIS_LOADSAVEENV_DIR
-rw-r--r--paludis/repositories/gentoo/ebuild/builtin_saveenv.bash7
1 files changed, 2 insertions, 5 deletions
diff --git a/paludis/repositories/gentoo/ebuild/builtin_saveenv.bash b/paludis/repositories/gentoo/ebuild/builtin_saveenv.bash
index a3a4342..8a4d1be 100644
--- a/paludis/repositories/gentoo/ebuild/builtin_saveenv.bash
+++ b/paludis/repositories/gentoo/ebuild/builtin_saveenv.bash
@@ -35,8 +35,7 @@ builtin_saveenv()
ebuild_f_saveenv()
{
local old_sandbox_write="${SANDBOX_WRITE}"
- [[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]] && \
- SANDBOX_WRITE="${SANDBOX_WRITE+${SANDBOX_WRITE}:}${PALUDIS_LOADSAVEENV_DIR%/}/"
+ SANDBOX_WRITE="${SANDBOX_WRITE+${SANDBOX_WRITE}:}${PALUDIS_LOADSAVEENV_DIR%/}/"
if hasq "saveenv" ${RESTRICT} ; then
ebuild_section "Skipping builtin_saveenv (RESTRICT)"
@@ -48,9 +47,7 @@ ebuild_f_saveenv()
ebuild_section "Done builtin_saveenv"
fi
- [[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]] && SANDBOX_WRITE="${old_sandbox_write}"
+ SANDBOX_WRITE="${old_sandbox_write}"
true
}
-
-