aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/ebuild.bash
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/ebuild/ebuild.bash')
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index 9683844e1..e57f38950 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -526,6 +526,11 @@ ebuild_load_em_up_dan()
export SANDBOX_WRITE=${SANDBOX_WRITE}:${CCACHE_DIR}
esandbox check 2>/dev/null && esandbox allow "${CCACHE_DIR}"
fi
+ if [[ -n ${TMPDIR} ]] && esandbox check 2>/dev/null; then
+ local tmpdirc="$(canonicalise "${TMPDIR}")"
+ esandbox allow_net unix:"${tmpdirc}" unix-abstract:"${tmpdirc}"
+ unset tmpdirc
+ fi
fi
[[ -z ${CBUILD} ]] && export CBUILD=${CHOST}