aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/repositories/e/ebuild/0/eclass_functions.bash3
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash3
2 files changed, 4 insertions, 2 deletions
diff --git a/paludis/repositories/e/ebuild/0/eclass_functions.bash b/paludis/repositories/e/ebuild/0/eclass_functions.bash
index 86a303d..d2b744d 100644
--- a/paludis/repositories/e/ebuild/0/eclass_functions.bash
+++ b/paludis/repositories/e/ebuild/0/eclass_functions.bash
@@ -37,8 +37,9 @@ inherit()
{
[[ -n "${PALUDIS_SKIP_INHERIT}" ]] && return
- local e ee location= v v_qa
+ local e ee location v v_qa
for e in "$@" ; do
+ location=
for ee in ${ECLASSDIRS:-${ECLASSDIR}} ; do
[[ -f "${ee}/${e}.eclass" ]] && location="${ee}/${e}.eclass"
done
diff --git a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
index 034ea8f..2cae338 100644
--- a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
@@ -32,8 +32,9 @@ export_exlib_phases()
require()
{
ebuild_notice "debug" "Command 'require ${@}', using EXLIBSDIRS '${EXLIBSDIRS}'"
- local e ee location= v v_qa
+ local e ee location v v_qa
for e in "$@" ; do
+ location=
for ee in ${EXLIBSDIRS} ; do
[[ -f "${ee}/${e}.exlib" ]] && location="${ee}/${e}.exlib"
done