aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index 8e6c068cb..49f462f24 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -464,6 +464,7 @@ ebuild_main()
die "${action} failed"
fi
if [[ ${action} == "init" ]] ; then
+ # source again with WORKDIR set, so S=${WORKDIR}/blahblahblah works
ebuild_load_ebuild "${ebuild}"
fi
perform_hook ebuild_${action}_post