aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/3
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-05-11 14:50:12 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-05-11 14:58:01 +0100
commitc2d9c202a7ea9f85875024bde38da7d8d034aef7 (patch)
tree900844f5bcd8e8209fc6bb927cbd5338be270a67 /paludis/repositories/e/ebuild/3
parentc5891e01e70bfc22db18c91d3663b2b6e428e4fd (diff)
downloadpaludis-c2d9c202a7ea9f85875024bde38da7d8d034aef7.tar.gz
paludis-c2d9c202a7ea9f85875024bde38da7d8d034aef7.tar.xz
EAPI 3 has restricted S to WORKDIR fallback
Diffstat (limited to 'paludis/repositories/e/ebuild/3')
-rw-r--r--paludis/repositories/e/ebuild/3/src_install.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/3/src_install.bash b/paludis/repositories/e/ebuild/3/src_install.bash
index a7cd493af..d76843313 100644
--- a/paludis/repositories/e/ebuild/3/src_install.bash
+++ b/paludis/repositories/e/ebuild/3/src_install.bash
@@ -47,6 +47,8 @@ ebuild_f_install()
{
if [[ -d "${S}" ]] ; then
cd "${S}" || die "cd to \${S} (\"${S}\") failed"
+ elif [[ -n "${PALUDIS_NO_S_WORKDIR_FALLBACK}" ]] ; then
+ die "\${S} (\"${S}\") does not exist"
elif [[ -d "${WORKDIR}" ]] ; then
cd "${WORKDIR}" || die "cd to \${WORKDIR} (\"${WORKDIR}\") failed"
fi